{"id":1008223,"date":"2015-09-24T06:48:24","date_gmt":"2015-09-24T13:48:24","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/"},"modified":"2015-10-20T08:57:53","modified_gmt":"2015-10-20T15:57:53","slug":"nextprev-event-navigation-links-doesnt-lead-to-correct-events","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/","title":{"rendered":"Next\/Prev event navigation links doesn&#039;t lead to correct events"},"content":{"rendered":"<p>We&#8217;ve recently discovered an issue on one of our websites with the navigation links for next\/prev events on the single event page. Instead of linking to the next or previous event, it links to one event in the next month, or one event from a previous month. It links to those two same events no matter what single event one is looking at. <\/p>\n<p>This is the code used to display the links and I can&#8217;t figure out why there&#8217;d be any problem with it.<br \/>\n`&lt;ul class=&#8221;tribe-events-sub-nav&#8221;&gt;<br \/>\n\t&lt;li class=&#8221;tribe-events-nav-previous&#8221;&gt;&lt;?php tribe_the_prev_event_link( &#8216;&lt;span&gt;&laquo;&lt;\/span&gt; %title%&#8217; ) ?&gt;&lt;\/li&gt;<br \/>\n\t&lt;li class=&#8221;tribe-events-nav-next&#8221;&gt;&lt;?php tribe_the_next_event_link( &#8216;%title% &lt;span&gt;&raquo;&lt;\/span&gt;&#8217; ) ?&gt;&lt;\/li&gt;<br \/>\n&lt;\/ul&gt;<code><\/code><\/p>\n<p>I also had a look at the posts that are linked to and could find nothing unusual about them.<\/p>\n<p>Both the Events Calendar and Events Calendar Pro are up to date. <\/p>\n<p>I don&#8217;t have a test server for this particular website so I am a little wary of especially switching to Twenty Fourteen theme, and of deactivating all other plugins as well since it&#8217;s a live site.  Do you know of any conflicts between any of the plugins installed on the site and the Events Calendar?<\/p>\n","protected":false},"template":"","class_list":["post-1008223","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>Next\/Prev event navigation links doesn&#039;t lead to correct events -<\/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\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Next\/Prev event navigation links doesn&#039;t lead to correct events -\" \/>\n<meta property=\"og:description\" content=\"We&#8217;ve recently discovered an issue on one of our websites with the navigation links for next\/prev events on the single event page. Instead of linking to the next or previous event, it links to one event in the next month, or one event from a previous month. It links to those two same events no [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-10-20T15:57:53+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\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/\",\"name\":\"Next\/Prev event navigation links doesn&#039;t lead to correct events -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-09-24T13:48:24+00:00\",\"dateModified\":\"2015-10-20T15:57:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/#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\":\"Next\/Prev event navigation links doesn&#039;t lead to correct events\"}]},{\"@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":"Next\/Prev event navigation links doesn&#039;t lead to correct events -","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\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/","og_locale":"en_US","og_type":"article","og_title":"Next\/Prev event navigation links doesn&#039;t lead to correct events -","og_description":"We&#8217;ve recently discovered an issue on one of our websites with the navigation links for next\/prev events on the single event page. Instead of linking to the next or previous event, it links to one event in the next month, or one event from a previous month. It links to those two same events no [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/","article_modified_time":"2015-10-20T15:57:53+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\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/","name":"Next\/Prev event navigation links doesn&#039;t lead to correct events -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-09-24T13:48:24+00:00","dateModified":"2015-10-20T15:57:53+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/nextprev-event-navigation-links-doesnt-lead-to-correct-events\/#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":"Next\/Prev event navigation links doesn&#039;t lead to correct events"}]},{"@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\/1008223","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":2,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1008223\/revisions"}],"predecessor-version":[{"id":1011830,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1008223\/revisions\/1011830"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1008223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}