{"id":1957571,"date":"2022-09-06T03:38:19","date_gmt":"2022-09-06T07:38:19","guid":{"rendered":"https:\/\/theeventscalendar.com\/knowledgebase\/?post_type=post&#038;p=1952778"},"modified":"2026-04-10T17:37:15","modified_gmt":"2026-04-10T21:37:15","slug":"customizing-series","status":"publish","type":"post","link":"https:\/\/theeventscalendar.com\/knowledgebase\/customizing-series\/","title":{"rendered":"Customizing Event Series"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-changing-the-calendar-view-on-the-series-page\">Changing the Calendar View on the Series Page<\/h2>\n\n\n\n<p>By default, the Series page displays events in Summary View on the frontend. If you&#8217;d prefer to use a different view, you can do so with a filter. Keep in mind that this filter will change the default view for all Series on your site. <\/p>\n\n\n\n<p>We&#8217;ll provide you with the snippet here, so let&#8217;s take a look!<\/p>\n\n\n\n<p>To change the default Series view to List, add the following snippet to your theme&#8217;s functions.php file or use the <a href=\"https:\/\/wordpress.org\/plugins\/code-snippets\" target=\"_blank\" rel=\"noreferrer noopener\">Code Snippets<\/a> plugin . You can adjust the snippet to use a different view by replacing <code><em>list<\/em><\/code><em> <\/em>with a different view name.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter(\n\t&#039;tec_events_pro_custom_tables_v1_series_event_view_slug&#039;,\n\tfunction ( $view ) {\n\t\treturn &#039;list&#039;;\n\t}\n);\n<\/pre><\/div>\n\n\n<p>If you&#8217;d like to use a different template for the Event Series Single, you can use this snippet, making sure to point the call to <code>locate_template()<\/code> to the template you want to use (<em>\/wp-content\/themes\/your-active-theme\/<\/em> folder).<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n\/* 1 - Define another template *\/\nadd_filter(\n\t&#039;template_include&#039;,\n\tstatic function ( $template ) {\n\t\tif ( is_singular( &#039;tribe_event_series&#039; ) ) {\n\t\t\t\/\/ Point this to the template you want to use.\n\t\t\t$template = locate_template( &#039;templates\/some-template.php&#039; );\n\t\t}\n\n\t\treturn $template;\n\t}\n);\n\n\/* 2 - Remove the Series Calendar view from being injected into your custom template *\/\n\nuse TEC\\Events_Pro\\Custom_Tables\\V1\\Templates\\Series_Filters;\n\nadd_filter(\n\t&#039;template_include&#039;,\n\tstatic function ( $template ) {\n\t\tif ( ! has_action( &#039;tribe_common_loaded&#039;, &#039;tribe_register_pro&#039; ) ) {\n\t\t\treturn $template;\n\t\t}\n\n\t\tremove_filter( &#039;the_content&#039;, &#x5B; tribe( Series_Filters::class ), &#039;inject_content&#039; ], 10 );\n\n\t\treturn $template;\n\t},\n\t15\n);\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\">Opting Out of Series Content Injection<\/h4>\n\n\n\n<p>By default, the Series page displays a list of events related to the series. If you&#8217;d prefer to opt out and prevent this list from being displayed, you can use the follwoing filter that allows you to disable the automatic injection of the series content into <code>the_content<\/code>.<\/p>\n\n\n\n<p>Returning <code>false<\/code>, the series list will no longer be shown on the series page.<\/p>\n\n\n\n<p>Here\u2019s the snippet:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( &#039;tec_events_pro_enable_series_content_injection&#039;, &#039;__return_false&#039; );\n<\/pre><\/div>\n\n\n<p>Just like the other snippets, you can add this to your theme\u2019s <code>functions.php<\/code> file or use a plugin like Code Snippets.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-link-directly-to-the-series-page-from-the-calendar\">Link Directly to the Series Page from the Calendar<\/h2>\n\n\n\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:\/\/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>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>\n\n\n<h4 class=\"wp-block-heading\" id=\"h-limit-redirection-to-specific-events\">Limit Redirection to Specific Events<\/h4>\n\n\n\n<p>The snippet above changes the behavior for <em>all<\/em> events in Series. If you want to use a similar behavior but only for <em>some <\/em>events, you can do that with a third-party redirect plugin.<\/p>\n\n\n\n<p>The first thing you&#8217;ll want to do is install the <a href=\"https:\/\/wordpress.org\/plugins\/redirection\/\" target=\"_blank\" rel=\"noreferrer noopener\">Redirection plugin<\/a>. Simply <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/k\/downloading-and-installing-the-plugin\/\" target=\"_blank\" rel=\"noreferrer noopener\">install the plugin<\/a> as you would any other WordPress plugin. From there, follow the prompts to continue set-up.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/05\/Screen-Shot-2022-05-11-at-7.19.28-AM.png\" alt=\"Set up the redirection plugin to redirect recurring events\" class=\"wp-image-1952785\"\/><\/figure>\n\n\n\n<p>Once the plugin is set up, click Add New to create a new redirect.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/05\/Screen-Shot-2022-05-11-at-7.26.25-AM.png\" alt=\"Add new redirect\" class=\"wp-image-1952786\"\/><\/figure>\n\n\n\n<p>The <strong>Source URL<\/strong> is the original location that you&#8217;d like to redirect from. In this case, that&#8217;s a single event page. Then, add in your <strong>Target URL<\/strong>: the Series land page. <\/p>\n\n\n\n<p>In the example below, the Source URL is the single event at <code>example.com\/event\/kids-camp-friendship-bracelets\/<\/code> and the Target URL is the Series page at <code>example.com\/\/series\/kids-camp\/<\/code>. Now when someone clicks the Friendship Bracelets event from the calendar, they&#8217;ll be sent right to the Series page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/07\/series-linkfromevent-1-1024x368.png\" alt=\"\" class=\"wp-image-1953753\"\/><\/figure>\n\n\n\n<p>And that&#8217;s it! Now you&#8217;re all set up to redirect your events.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-change-the-event-series-page-slug\">How to Change the Event Series Page Slug<\/h2>\n\n\n\n<p>By default, the URL slug for a Series is simply <em>series, <\/em>e.g. <code>your site.com\/series\/series-name<\/code>. This snippet allows you to change the global slug to match your needs. For example, a theater might want to change the slug to <em>play <\/em>so that they can show all the times (events) for a particular play on the Series page with a URL like <code>example.com\/play\/my-fair-lady<\/code>.<\/p>\n\n\n\n<p>Simply place the following snippet in your theme&#8217;s functions.php file and replace <code>new-series-slug<\/code> with whatever you&#8217;d like the slug to be.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n\t\tadd_filter( &#039;tribe_events_register_series_type_args&#039;,\n\t\t\tfunction ( $args ) {\n\t\t\t\t$args&#x5B;&#039;rewrite&#039;]         = isset( $args&#x5B;&#039;rewrite&#039;] ) ? $args&#x5B;&#039;rewrite&#039;] : &#x5B;];\n\t\t\t\t$args&#x5B;&#039;rewrite&#039;]&#x5B;&#039;slug&#039;] = &#039;new-series-slug&#039;;\n\n\t\t\t\treturn $args;\n\t\t\t}\n\t\t);\n<\/pre><\/div>\n\n\n<p>After applying the PHP snippet, it&#8217;s crucial to flush your WordPress permalinks to avoid potential navigation issues. <\/p>\n\n\n\n<p>You can do this by going to your WordPress dashboard (wp-admin) &gt; Settings &gt; Permalinks, and clicking the &#8216;Save Changes&#8217; button. This action flushes the permalinks, ensuring it&#8217;ll be reinterpreted and that your changes are being applied.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-add-series-title-to-a-series-page\">How to Add \u201cSeries\u201d Title to a Series Page<\/h2>\n\n\n\n<p>When creating a new Series page, you may have noticed that Series does not have its own template. Because of this, building customizations onto that page doesn&#8217;t come from a template override, as do many of the other customizations with The Events Calendar.<\/p>\n\n\n\n<p>The good news is that you can easily append the word &#8220;Series&#8221; (or anything else) to the Series page, making it easier for your users to identify the page as part of a Series.<\/p>\n\n\n\n<p>To add the word &#8220;Series&#8221; to the Series page, simply add the following CSS to your stylesheet or through the WordPress Customizer. For the latter, you can add the CSS under Appearance &gt; Customizer &gt; Additional CSS. Here is the snippet you&#8217;ll want to add or modify to suit your needs:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: css; title: ; notranslate\" title=\"\">\n.tribe_event_series-template-default h1.entry-title:after {\n    content: &quot; Series&quot;;\n} \n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Changing the Calendar View on the Series Page By default, the Series page displays events in Summary View on the frontend. If you&#8217;d prefer to use a different view, you can do so with a filter. Keep in mind that this filter will change the default view for all Series on your site. We&#8217;ll provide&#8230;<\/p>\n","protected":false},"author":84,"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":[67,306],"tags":[],"stellar-product-taxonomy":[158],"class_list":["post-1957571","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-recurring-events","category-series","stellar-product-taxonomy-events-calendar-pro"],"acf":[],"taxonomy_info":{"category":[{"value":67,"label":"Recurring Events"},{"value":306,"label":"Series"}],"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":"The Events Calendar Team","author_link":"https:\/\/theeventscalendar.com\/knowledgebase\/author\/the_events_calendar_team\/"},"comment_info":0,"category_info":[{"term_id":67,"name":"Recurring Events","slug":"recurring-events","term_group":0,"term_taxonomy_id":67,"taxonomy":"category","description":"","parent":61,"count":12,"filter":"raw","term_order":"0","cat_ID":67,"category_count":12,"category_description":"","cat_name":"Recurring Events","category_nicename":"recurring-events","category_parent":61},{"term_id":306,"name":"Series","slug":"series","term_group":0,"term_taxonomy_id":306,"taxonomy":"category","description":"","parent":61,"count":3,"filter":"raw","term_order":"0","cat_ID":306,"category_count":3,"category_description":"","cat_name":"Series","category_nicename":"series","category_parent":61}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1957571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/84"}],"replies":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1957571"}],"version-history":[{"count":9,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1957571\/revisions"}],"predecessor-version":[{"id":1968852,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1957571\/revisions\/1968852"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1957571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1957571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1957571"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1957571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}