{"id":1957572,"date":"2022-09-06T03:38:38","date_gmt":"2022-09-06T07:38:38","guid":{"rendered":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/?post_type=post&#038;p=1952780"},"modified":"2025-04-02T14:50:57","modified_gmt":"2025-04-02T18:50:57","slug":"link-directly-to-the-series-page-from-the-calendar","status":"publish","type":"post","link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/link-directly-to-the-series-page-from-the-calendar\/","title":{"rendered":"Link Directly to the Series Page from the Calendar"},"content":{"rendered":"\n<p>Normally when a user clicks any event title on a calendar view or widget, the link takes them to that event&#8217;s page. With this snippet, you can adjust that behavior so that clicking an event title from a calendar view takes the user right to the Series landing page, where they can view all events in a Series. They can still reach the individual event pages by clicking on the event title on the Series page. <\/p>\n\n\n\n<p>This snippet will change the link for all events on your site that are in a Series. Any event that is not in a Series will link to the event page like usual. If you want to link to the Series page from only <em>some <\/em>of your events, you can use a redirection plugin as described in <a href=\"https:\/\/staging.theeventscalendar.com\/knowledgebase\/k\/how-to-redirect-specific-events-to-a-series-page\/\" target=\"_blank\" rel=\"noreferrer noopener\">this article<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/07\/series-linkfromevent-1024x368.png\" alt=\"\" class=\"wp-image-1953748\" style=\"width:915px;height:329px\"\/><\/figure>\n\n\n\n<p>Let&#8217;s take a look at how to do it below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-series-page-snippet\">Series page snippet<\/h2>\n\n\n\n<p>You should add the following snippet using the <a href=\"https:\/\/wordpress.org\/plugins\/code-snippets\/\">Code Snippets<\/a> plugin, rather than placing it in your theme\u2019s functions.php file. This method ensures better compatibility. Note that this will change the behavior for all events in Series on your calendar.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( &#039;tec_events_pro_custom_tables_v1_redirect_event_link_to_series&#039;, &#039;__return_true&#039; );\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Normally when a user clicks any event title on a calendar view or widget, the link takes them to that event&#8217;s page. With this snippet, you can adjust that behavior so that clicking an event title from a calendar view takes the user right to the Series landing page, where they can view all events&#8230;<\/p>\n","protected":false},"author":3,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[59,67],"tags":[25,58],"stellar-product-taxonomy":[158],"class_list":["post-1957572","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-customizing-resources","category-recurring-events","tag-customizations","tag-php","stellar-product-taxonomy-events-calendar-pro"],"acf":[],"taxonomy_info":{"category":[{"value":59,"label":"PHP &amp; Functions"},{"value":67,"label":"Recurring Events"}],"post_tag":[{"value":25,"label":"Customizations"},{"value":58,"label":"PHP"}],"stellar-product-taxonomy":[{"value":158,"label":"Events Calendar Pro"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Jaime Marchwinski","author_link":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/author\/jaimetri-be\/"},"comment_info":0,"category_info":[{"term_id":59,"name":"PHP &amp; Functions","slug":"customizing-resources","term_group":0,"term_taxonomy_id":59,"taxonomy":"category","description":"","parent":24,"count":101,"filter":"raw","term_order":"0","cat_ID":59,"category_count":101,"category_description":"","cat_name":"PHP &amp; Functions","category_nicename":"customizing-resources","category_parent":24},{"term_id":67,"name":"Recurring Events","slug":"recurring-events","term_group":0,"term_taxonomy_id":67,"taxonomy":"category","description":"","parent":61,"count":11,"filter":"raw","term_order":"0","cat_ID":67,"category_count":11,"category_description":"","cat_name":"Recurring Events","category_nicename":"recurring-events","category_parent":61}],"tag_info":[{"term_id":25,"name":"Customizations","slug":"customizations","term_group":0,"term_taxonomy_id":25,"taxonomy":"post_tag","description":"","parent":0,"count":177,"filter":"raw","term_order":"0"},{"term_id":58,"name":"PHP","slug":"php","term_group":0,"term_taxonomy_id":58,"taxonomy":"post_tag","description":"","parent":20,"count":128,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1957572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1957572"}],"version-history":[{"count":2,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1957572\/revisions"}],"predecessor-version":[{"id":1964807,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1957572\/revisions\/1964807"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1957572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1957572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1957572"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/staging.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1957572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}