Home › Forums › Calendar Products › Events Calendar PRO › How can i get the recurring events inside the single event page?
- This topic has 7 replies, 2 voices, and was last updated 6 years, 3 months ago by David Perez.
-
AuthorPosts
-
December 27, 2017 at 12:33 am #1413106David PerezParticipant
I don’t see how can I get the recurring events in a single page. What’s the function or method?
Regards.
December 27, 2017 at 7:15 pm #1413684CliffMemberHi, David.
I’m unsure what you’re asking, but here’s an example of a single instance within a recurrence series: https://wpshindig.com/event/seattle-beercode/2018-01-17/
Notice the “See all” link: https://wpshindig.com/event/seattle-beercode/all/
Is this what you’re asking about?
If you’re not seeing it and are expecting to, it could be your theme or some custom code in place that is hiding it.
Please let me know if this answers your question.
January 4, 2018 at 3:12 pm #1418406David PerezParticipantHello, I need the function (query) to gets all recurring events that are in the event. Like the archive that you’ve showed to me in second link, but in a query (php function).
January 4, 2018 at 4:30 pm #1418430CliffMemberHi, David. Currently the way a recurrence series works is by using the parent/child relationship between posts. The “series” is the parent and each “instance” is a child. Therefore, the WP_Query argument used is ‘post_parent’
Depending on what context you’re wanting to use PHP for, ‘post_parent’ is going to be key. /wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence/Event_Query.php and other files in that directory are good reference.
Please let me know if you have any follow-up questions on this topic.
January 4, 2018 at 10:48 pm #1418613David PerezParticipantNice! I’ll check it out…
January 5, 2018 at 12:56 pm #1419192CliffMemberThanks for letting me know you got my message. Please let me know how this goes for you.
January 27, 2018 at 8:36 am #1437924Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘How can i get the recurring events inside the single event page?’ is closed to new replies.