{"id":1257293,"date":"2017-03-21T08:42:25","date_gmt":"2017-03-21T15:42:25","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/"},"modified":"2017-03-22T06:53:02","modified_gmt":"2017-03-22T13:53:02","slug":"recurring-events-list-in-single-event-page-solution","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/","title":{"rendered":"Recurring events list in single event page solution"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>A while ago is asked for help to get started on getting a list of an event&#8217;s recurring events on the single event page itself. Afterwards I started looking on the forum for some hints towards a solution and found that there were quite a lot of people trying to do this and as I have figured out how to do it, I thought i&#8217;d share it here for everyone else that&#8217;s looking to do this. So here it is:<\/p>\n<p><a href=\"https:\/\/gist.github.com\/anonymous\/0f5c54d6b3483b6a9bad46e80bc5783b\">https:\/\/gist.github.com\/anonymous\/0f5c54d6b3483b6a9bad46e80bc5783b<\/a><\/p>\n<p>For clarification, what this basically does is make a list of the names and starting dates of all recurring events like so:<\/p>\n<p>&#8221; this is the date of the current event:<br \/>\nCurrent event (date)<\/p>\n<p>these are other dates:<br \/>\nRecurring event 1 (date)<br \/>\nRecurring event 2 (date)<br \/>\nRecurring event 3 (date) &#8221;<\/p>\n<p>It checks if the event you are viewing is the main event page, or one of the recurring events. If it&#8217;s the main event it shows only the recurring event pages and if it&#8217;s one of the recurring events it shows the main event and all recurring events except for the one you are currently viewing. It also adds links to it all.<\/p>\n<p>Add this anywhere in your single-event.php and you should be good to go!<\/p>\n<p>I hope this works for everyone. I&#8217;ve added some notes to it so it&#8217;s easier to customize.<\/p>\n<p>Frank<\/p>\n","protected":false},"template":"","class_list":["post-1257293","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Recurring events list in single event page solution -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Recurring events list in single event page solution -\" \/>\n<meta property=\"og:description\" content=\"Hi there, A while ago is asked for help to get started on getting a list of an event&#8217;s recurring events on the single event page itself. Afterwards I started looking on the forum for some hints towards a solution and found that there were quite a lot of people trying to do this and [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-03-22T13:53:02+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/\",\"name\":\"Recurring events list in single event page solution -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-03-21T15:42:25+00:00\",\"dateModified\":\"2017-03-22T13:53:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Recurring events list in single event page solution\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Recurring events list in single event page solution -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/","og_locale":"en_US","og_type":"article","og_title":"Recurring events list in single event page solution -","og_description":"Hi there, A while ago is asked for help to get started on getting a list of an event&#8217;s recurring events on the single event page itself. Afterwards I started looking on the forum for some hints towards a solution and found that there were quite a lot of people trying to do this and [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/","article_modified_time":"2017-03-22T13:53:02+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/","name":"Recurring events list in single event page solution -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-03-21T15:42:25+00:00","dateModified":"2017-03-22T13:53:02+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/recurring-events-list-in-single-event-page-solution\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Recurring events list in single event page solution"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1257293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1257293\/revisions"}],"predecessor-version":[{"id":1257981,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1257293\/revisions\/1257981"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1257293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}