Forum Replies Created
-
AuthorPosts
-
Jonathan
ParticipantCasey,
The function you gave me works, I did not have 4 live events in my testing environment, which is the reason why I was not receiving an array of 4 events. Thanks again for your help!Jonathan
ParticipantHi Casey,
Thanks for your reply. We are calling it outside of the loop, and I have updated the function by passing through the event id:
<?php $related_posts = tribe_get_related_posts(4, $event_id); ?>
Yet, it is still returning an array of 3 events as opposed to 4. I have double checked that the event id is accurate.
Jonathan
ParticipantWe have now tried tribe_get_related_posts($count = 4, $post = false); and that still does not seem to be working.
Jonathan
ParticipantOK Barry, Thank you for the reply. I’ll post back if we stumble across a temporary workaround to this issue.
Jonathan
ParticipantFollowing up on this. Could you please tell me if there’s anything specifically planned in the near future to handle these errors?
Jonathan
ParticipantWe were able to prevent this error by deleting this method “.noConflict()”
from plugins/the-events-calendar/resources/tribe-events.min.js.Jonathan
ParticipantAs the conflict seems to specifically be with the datepicker, we tried disabling the javascript datepicker for the events plugin which did not solve the issue.
We then disabled the javascript datepicker via MailChimp, and we are still receiving the same 2 JS errors on page load.
Do you have any suggestions as to how we can bypass the datepicker on either both or one of the plugins?
Jonathan
ParticipantSorry we cannot see your reply. It just says “This reply has been marked as private.”
Jonathan
ParticipantThis reply is private.
Jonathan
ParticipantThis reply is private.
Jonathan
ParticipantThis reply is private.
Jonathan
ParticipantThis reply is private.
Jonathan
ParticipantThank you, that does make since and that is pretty much the approach that we have in place at the moment. We’re looking forward to your updates. Good luck!
Jonathan
ParticipantUnderstood, thank you for the reply. It seems like there was a way to display both month and list view at the same time and hide/show each one depending on the @media query. (For mobile, display:block the list view and display:none the month view.) Do you know of any good tutorials on how to accomplish this? After searching, I haven’t found any and I’ve had a hard time getting this to work. Thank you.
-
AuthorPosts
