{"id":1311995,"date":"2017-06-29T08:21:31","date_gmt":"2017-06-29T15:21:31","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/missing-next-link-in-month-view\/"},"modified":"2017-06-29T08:21:31","modified_gmt":"2017-06-29T15:21:31","slug":"missing-next-link-in-month-view","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/missing-next-link-in-month-view\/","title":{"rendered":"Missing &quot;next&quot; link in month view"},"content":{"rendered":"<p>Running into an issue where the next month link is missing. I&#8217;ve deactivated all plugins except The Events Calendar and switched to the Twentyseventeen theme and I&#8217;m still having the issue.<\/p>\n<p>I&#8217;ve even tried adding this code per another thread I found with the same issue.<br \/>\n<code><\/code>`<br \/>\nclass ContinualMonthViewPagination {<br \/>\n\tpublic function __construct() {<br \/>\n\t\tadd_filter( &#8216;tribe_events_the_next_month_link&#8217;, array( $this, &#8216;next_month&#8217; ) );<br \/>\n\t\tadd_filter( &#8216;tribe_events_the_previous_month_link&#8217;, array( $this, &#8216;previous_month&#8217; ) );<br \/>\n\t}<br \/>\n\tpublic function next_month() {<br \/>\n\t\t$url = tribe_get_next_month_link();<br \/>\n\t\t$text = tribe_get_next_month_text();<br \/>\n\t\t$date = TribeEvents::instance()-&gt;nextMonth( tribe_get_month_view_date() );<br \/>\n\t\treturn &#8216;&lt;a data-month=&#8221;&#8216; . $date . &#8216;&#8221; href=&#8221;&#8216; . $url . &#8216;&#8221; rel=&#8221;next&#8221;&gt;&#8217; . $text . &#8216; &lt;span&gt;&raquo;&lt;\/span&gt;&lt;\/a&gt;&#8217;;<br \/>\n\t}<br \/>\n\tpublic function previous_month() {<br \/>\n\t\t$url = tribe_get_previous_month_link();<br \/>\n\t\t$text = tribe_get_previous_month_text();<br \/>\n\t\t$date = TribeEvents::instance()-&gt;previousMonth( tribe_get_month_view_date() );<br \/>\n\t\treturn &#8216;&lt;a data-month=&#8221;&#8216; . $date . &#8216;&#8221; href=&#8221;&#8216; . $url . &#8216;&#8221; rel=&#8221;prev&#8221;&gt;&lt;span&gt;&laquo;&lt;\/span&gt; &#8216; . $text . &#8216; &lt;\/a&gt;&#8217;;<br \/>\n\t}<br \/>\n}<br \/>\nnew ContinualMonthViewPagination;<br \/>\n<code><\/code>`<br \/>\nThe site is a MU site if that makes a difference.<\/p>\n<p>http:\/\/swif2017.wpengine.com\/events\/<\/p>\n","protected":false},"template":"","class_list":["post-1311995","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>Missing &quot;next&quot; link in month view -<\/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\/missing-next-link-in-month-view\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Missing &quot;next&quot; link in month view -\" \/>\n<meta property=\"og:description\" content=\"Running into an issue where the next month link is missing. I&#8217;ve deactivated all plugins except The Events Calendar and switched to the Twentyseventeen theme and I&#8217;m still having the issue. I&#8217;ve even tried adding this code per another thread I found with the same issue. ` class ContinualMonthViewPagination { public function __construct() { add_filter( [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/missing-next-link-in-month-view\/\" \/>\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\/missing-next-link-in-month-view\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/missing-next-link-in-month-view\/\",\"name\":\"Missing &quot;next&quot; link in month view -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-06-29T15:21:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/missing-next-link-in-month-view\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/missing-next-link-in-month-view\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/missing-next-link-in-month-view\/#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\":\"Missing &quot;next&quot; link in month view\"}]},{\"@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":"Missing &quot;next&quot; link in month view -","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\/missing-next-link-in-month-view\/","og_locale":"en_US","og_type":"article","og_title":"Missing &quot;next&quot; link in month view -","og_description":"Running into an issue where the next month link is missing. I&#8217;ve deactivated all plugins except The Events Calendar and switched to the Twentyseventeen theme and I&#8217;m still having the issue. I&#8217;ve even tried adding this code per another thread I found with the same issue. ` class ContinualMonthViewPagination { public function __construct() { add_filter( [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/missing-next-link-in-month-view\/","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\/missing-next-link-in-month-view\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/missing-next-link-in-month-view\/","name":"Missing &quot;next&quot; link in month view -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-06-29T15:21:31+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/missing-next-link-in-month-view\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/missing-next-link-in-month-view\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/missing-next-link-in-month-view\/#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":"Missing &quot;next&quot; link in month view"}]},{"@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\/1311995","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":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1311995\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1311995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}