{"id":1202732,"date":"2016-12-07T08:36:18","date_gmt":"2016-12-07T16:36:18","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-link-next-month-views-list\/"},"modified":"2016-12-07T08:36:18","modified_gmt":"2016-12-07T16:36:18","slug":"error-link-next-month-views-list","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-link-next-month-views-list\/","title":{"rendered":"Error link next month (views list)"},"content":{"rendered":"<p>I have an error when I want to go to the next month or previous month.<br \/>\nI have in the center in the name of the month. To the sides to move to the next month and the previous month to see the events published per month you are browsing.<\/p>\n<p>My code is as follows:<\/p>\n<pre><code>&lt;h2 class=&quot;tribe-events-page-title&quot;&gt;\n\t\t&lt;span class=&quot;prev-month&quot;&gt;\n\t\t\t&lt;a  href=&quot;&lt;?php echo esc_url( tribe_get_previous_month_link() ); ?&gt;&quot; rel=&quot;prev&quot;&gt;&lt;?php printf( &#039;&lt;span&gt;&amp;laquo;&lt;\/span&gt; &#039; . esc_html__( &#039;%s&#039;, &#039;the-events-calendar&#039; ), $events_label_plural ); ?&gt;&lt;\/a&gt;\n\t\t&lt;\/span&gt;\n\t\t&lt;?php echo tribe_get_current_month_text(); ?&gt;\n\t\t&lt;span class=&quot;next-month&quot;&gt;\n\t\t\t&lt;a  href=&quot;&lt;?php echo esc_url( tribe_get_next_month_link() ); ?&gt;&quot; rel=&quot;next&quot;&gt;&lt;?php printf( esc_html__( &#039;%s&#039;, &#039;the-events-calendar&#039; ), $events_label_plural . &#039; &lt;span&gt;&amp;raquo;&lt;\/span&gt;&#039; ); ?&gt;&lt;\/a&gt;\n\t\t&lt;\/span&gt;\n\t&lt;\/h2&gt;<\/code><\/pre>\n<p>The problem is that the link of the next month gives me an error page. Does not interact with AJAX plugin.<\/p>\n<p>I would like to know why with this same code on another page that I have created if this code works. And on the &#8216;events&#8217; page, it does not work for me.<\/p>\n","protected":false},"template":"","class_list":["post-1202732","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>Error link next month (views list) -<\/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\/error-link-next-month-views-list\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Error link next month (views list) -\" \/>\n<meta property=\"og:description\" content=\"I have an error when I want to go to the next month or previous month. I have in the center in the name of the month. To the sides to move to the next month and the previous month to see the events published per month you are browsing. My code is as follows: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-link-next-month-views-list\/\" \/>\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\/error-link-next-month-views-list\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-link-next-month-views-list\/\",\"name\":\"Error link next month (views list) -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-12-07T16:36:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-link-next-month-views-list\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-link-next-month-views-list\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-link-next-month-views-list\/#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\":\"Error link next month (views list)\"}]},{\"@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":"Error link next month (views list) -","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\/error-link-next-month-views-list\/","og_locale":"en_US","og_type":"article","og_title":"Error link next month (views list) -","og_description":"I have an error when I want to go to the next month or previous month. I have in the center in the name of the month. To the sides to move to the next month and the previous month to see the events published per month you are browsing. My code is as follows: [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-link-next-month-views-list\/","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\/error-link-next-month-views-list\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-link-next-month-views-list\/","name":"Error link next month (views list) -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-12-07T16:36:18+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-link-next-month-views-list\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-link-next-month-views-list\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-link-next-month-views-list\/#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":"Error link next month (views list)"}]},{"@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\/1202732","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\/1202732\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1202732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}