{"id":1945753,"date":"2020-02-12T11:18:44","date_gmt":"2020-02-12T16:18:44","guid":{"rendered":"https:\/\/theeventscalendar.com\/knowledgebase\/?post_type=tribe-knowledgebase&#038;p=1945753"},"modified":"2026-04-09T13:09:08","modified_gmt":"2026-04-09T17:09:08","slug":"customizing-template-files","status":"publish","type":"post","link":"https:\/\/theeventscalendar.com\/knowledgebase\/customizing-template-files\/","title":{"rendered":"Customizing The Events Calendar Template Files"},"content":{"rendered":"\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/_XwOHfEh904\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen=\"\"><\/iframe>\n\n\n\n<p>The Events Calendar comes with a number of template files that determine how the plugin looks and behaves. We call these <em>views<\/em>. You can customize these files by placing copies of them in your theme. <\/p>\n\n\n\n<p><strong>It\u2019s important that you don\u2019t edit the view files directly in the plugin.<\/strong> Instead, we recommend overriding the files in your theme, which is what we are going to cover in this guide. This ensures that any changes you make to the files will not be lost when new versions of the plugins are released. In fact, we strongly recommend keeping your custom calendar view templates in a <a href=\"https:\/\/developer.wordpress.org\/themes\/advanced-topics\/child-themes\/\" target=\"_blank\" rel=\"noreferrer noopener\">child theme<\/a>, especially if you use a third-party theme that releases new versions. <a href=\"https:\/\/wordpress.org\/plugins\/child-theme-configurator\/\" target=\"_blank\" rel=\"noreferrer noopener\">This plugin<\/a> can be helpful for creating child themes. The Events Calendar will ensure that your modified files, in the correct folder, will override the plugin files.<\/p>\n\n\n\n<p>OK, now that we&#8217;ve established some housekeeping rules, let&#8217;s dig into the process of customizing template files by overriding them in your theme.<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/evnt.is\/1b8n\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2022\/06\/evergreen-ad-events-calendar-1024x384.png\" alt=\"\" class=\"wp-image-1953182\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-locating-template-files\">Locating Template Files<\/h2>\n\n\n\n<p>Every plugin is located on your server where WordPress is installed in the&nbsp;<code>\/wp-content\/plugins<\/code>&nbsp;folder. Here\u2019s where you can find the template files for each plugin.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Plugin<\/th><th>Template Files<\/th><\/tr><\/thead><tbody><tr><td>The Events Calendar<\/td><td><code>\/the-events-calendar\/src\/views\/v2\/<\/code><\/td><\/tr><tr><td>Events Calendar Pro<\/td><td><code>\/events-calendar-pro\/src\/views\/v2\/<\/code><\/td><\/tr><tr><td>Event Tickets<\/td><td><code>\/event-tickets\/src\/views\/v2\/<\/code><\/td><\/tr><tr><td>Event Tickets Plus<\/td><td><code>\/event-tickets-plus\/src\/views\/v2\/<\/code><\/td><\/tr><tr><td>Community<\/td><td><code>\/the-events-calendar-community-events\/src\/views\/<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-exceptions\">Exceptions<\/h4>\n\n\n\n<p>There are a few exceptions to this. The single event pages still use the files from the legacy design, and there is both a classic editor and a block editor version. You can find those files here:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Plugin<\/th><th>Template Files<\/th><th>Override Location<\/th><\/tr><\/thead><tbody><tr><td><strong>Classic Editor<\/strong><\/td><td>Single event, single organizer, single venue pages<\/td><td>This can also be found at the top of each original PHP file.<\/td><\/tr><tr><td>The Events Calendar<\/td><td><code>\/the-events-calendar\/src\/views\/single-event.php<\/code><\/td><td><code>[your-theme]\/tribe-events\/single-event.php<\/code><\/td><\/tr><tr><td>The Events Calendar<\/td><td><code>\/the-events-calendar\/src\/views\/modules\/<\/code><\/td><td><code>[your-theme]\/tribe-events\/modules<\/code><\/td><\/tr><tr><td>Events Calendar Pro<\/td><td><code>\/events-calendar-pro\/src\/views\/pro\/modules\/<\/code><\/td><td><code>[your-theme]\/tribe-events\/pro\/modules\/<\/code><\/td><\/tr><tr><td><strong>Block Editor<\/strong><\/td><td>Single event page<\/td><td><\/td><\/tr><tr><td>The Events Calendar<\/td><td><code>\/the-events-calendar\/src\/views\/single-event-blocks.php<\/code><\/td><td><code>[your-theme]\/tribe\/events\/single-event-blocks.php<\/code><\/td><\/tr><tr><td>The Events Calendar<\/td><td><code>\/the-events-calendar\/src\/views\/single-event\/<\/code><\/td><td><code>[your-theme]\/tribe\/events\/single-event\/<\/code><\/td><\/tr><tr><td>Events Calendar Pro<\/td><td><code>\/events-calendar-pro\/src\/views\/blocks\/<\/code><\/td><td><code>[your-theme]\/tribe\/events-pro\/blocks\/<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>To override these files the copy should be placed in <code>\/tribe-events<\/code> and <code>\/tribe-events\/pro<\/code> respectively. For further details please check out the <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/k\/customizing-template-files\/\" target=\"_blank\" rel=\"noreferrer noopener\">guide to customizing template files for Views 1<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-template-overrides-with-the-block-editor\">Template Overrides with the Block Editor<\/h2>\n\n\n\n<p>When creating template overrides for the Block Editor, the file path will depend on whether you are using the blocks that are specific to the Events Calendar plugin vs the Events Calendar Pro plugin.<\/p>\n\n\n\n<p>When using The Events Calendar blocks, the copy should be placed here: <code>[your-theme]\/tribe\/events\/blocks\/<\/code><\/p>\n\n\n\n<p>Here are the Events Calendar blocks:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Classic Event Details Block<\/li>\n\n\n\n<li>Event Category Block<\/li>\n\n\n\n<li>Event Datetime Block<\/li>\n\n\n\n<li>Event Links Block<\/li>\n\n\n\n<li>Event Organizer Block<\/li>\n\n\n\n<li>Event Price Block<\/li>\n\n\n\n<li>Event Tags Block<\/li>\n\n\n\n<li>Event Venue Block<\/li>\n\n\n\n<li>Event Website Block<\/li>\n\n\n\n<li>Featured Image Block<\/li>\n<\/ul>\n\n\n\n<p>You can find all of The Events Calendar template files <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/k\/calendar-template-files-v2\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<p>When using Events Calendar Pro blocks, the copy should be placed here: <code>[your-theme]\/tribe\/events-pro\/blocks\/<\/code><\/p>\n\n\n\n<p>Here are the Events Calendar Pro blocks:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Additional Fields Block<\/li>\n\n\n\n<li>Recurrence Block<\/li>\n\n\n\n<li>Related Events Block<\/li>\n<\/ul>\n\n\n\n<p>You can find all of the Events Calendar Pro template files <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/k\/events-calendar-pro-template-files\/\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-adding-a-new-folder-in-your-theme\">Adding a New Folder in Your Theme<\/h2>\n\n\n\n<p>Once you\u2019ve located the template file you want to customize, make a copy of it and save it somewhere for a moment, like your computer desktop.<\/p>\n\n\n\n<p>Next, let\u2019s head over to your theme folder and create a new folder. &nbsp;Not sure where your theme folder is located? It\u2019s where WordPress is installed in the&nbsp;<code>\/wp-content\/themes<\/code>&nbsp;folder. So if you are using the official Twenty Twenty theme, it would be at <code>\/wp-content\/themes\/twentytwenty<\/code>. Once you find it, create a new folder called <code>tribe<\/code>.<\/p>\n\n\n\n<p>So far, you should have a new folder in your theme located at:&nbsp;<code>\/wp-content\/themes\/your-theme\/tribe\/<\/code><\/p>\n\n\n\n<p>Now, which plugin or add-on does your copied template file belong to? You\u2019ll need to make another folder that correlates with the plugin you are customizing. That includes the following:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Plugin<\/th><th>Folder<\/th><\/tr><\/thead><tbody><tr><td>The Events Calendar (legacy views)<\/td><td><code>\/tribe\/events\/<\/code><\/td><\/tr><tr><td>The Events Calendar (new views)<\/td><td><code>\/tribe\/events\/v2<\/code><\/td><\/tr><tr><td>Events Calendar Pro<\/td><td><code>\/tribe\/events-pro\/v2<\/code><\/td><\/tr><tr><td>Event Tickets<\/td><td><code>\/tribe\/tickets\/<\/code><\/td><\/tr><tr><td>Event Tickets Plus<\/td><td><code>\/tribe\/tickets-plus\/<\/code><\/td><\/tr><tr><td>Community<\/td><td><code>\/tribe-events\/community\/<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>With the new views, your folder structure should look like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2020\/02\/Screen-Shot-2020-02-13-at-16.18.32.png\" alt=\"folder structure for creating template overrides\" class=\"wp-image-1945904\"\/><figcaption class=\"wp-element-caption\">Folder structure for overriding the new views templates.<\/figcaption><\/figure>\n\n\n\n<p>Now that you\u2019ve located the template you want to override make a copy of it, create a new&nbsp;<code>tribe\/<\/code> folder in your theme, and put the copied template file in its corresponding plugin folder, you can start customizing!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-example-customizing-list-view\">Example: Customizing List View<\/h2>\n\n\n\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/43vTN5fFBHw\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n\n\n\n<p>We&#8217;re going to look at an example of a template override. In this case, we&#8217;re going to customize the calendar&#8217;s list view template.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2020\/02\/list-view-template-1.png\" alt=\"template override example\" class=\"wp-image-1945770\"\/><figcaption class=\"wp-element-caption\">The calendar in list view<\/figcaption><\/figure>\n\n\n\n<p>Let&#8217;s say we really like the layout in general, but would prefer to get rid of the featured image.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2020\/02\/list-featured-image.png\" alt=\"template override example\" class=\"wp-image-1945768\"\/><figcaption class=\"wp-element-caption\">Featured images in the calendar list view<\/figcaption><\/figure>\n\n\n\n<p>Here&#8217;s how we can make that happen.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-locate-the-template-file\">Locate the Template File<\/h4>\n\n\n\n<p>First off, we need to find where the event template file is located in the plugin files. In this case, we&#8217;re customizing a template in The Events Calendar. That means we can head over here to start looking: <code>\/wp-content\/plugins\/the-events-calendar\/src\/views\/v2<\/code>.<\/p>\n\n\n\n<p>Inside that folder is another one that is called <code>list<\/code> which is perfect because it contains the template files we need to customize the calendar&#8217;s list view.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2020\/02\/list-view-template-directory.png\" alt=\"locating the correct template to override in the code\" class=\"wp-image-1945771\"\/><\/figure>\n\n\n\n<p>The <code>event<\/code>&nbsp;folder appears to be the most relevant we&#8217;re looking for, so let&#8217;s go there. Now, we see there&#8217;s a <code>featured-image.php<\/code> file that looks super promising.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/knowledgebase\/wp-content\/uploads\/2020\/02\/list-view-event-folder-1024x515.png\" alt=\"finding the correct file path to create a template override\" class=\"wp-image-1945772\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-add-the-copied-template-to-your-theme\">Add the Copied Template to Your Theme<\/h4>\n\n\n\n<p>The key part of overriding a template is that we need a place to put our customized template. That&#8217;s what we&#8217;re going to do next.<\/p>\n\n\n\n<p>Head over to your server and open up your theme folder. That&#8217;s located where WordPress is installed in the <code>\/wp-content\/themes<\/code>&nbsp;folder. Your theme will be in there, so let&#8217;s open it up and add a new folder in it called <code>tribe<\/code>. We&#8217;ll want to nest more folders in there so that the exact same folders that are in the plugin folder are in the theme.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/knowledgebase\/wp-content\/uploads\/2020\/02\/template-new-folder-1024x443.png\" alt=\"create a new folder in the theme to create a template override\" class=\"wp-image-1945782\"\/><figcaption class=\"wp-element-caption\">We&#8217;ve created a new folder in the theme located at <code>\/tribe\/events\/v2\/list\/event\/<\/code>.<\/figcaption><\/figure>\n\n\n\n<p>That&#8217;s where we can drop in the<code>featured-image.php<\/code> file we copied earlier.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/knowledgebase\/wp-content\/uploads\/2020\/02\/template-override-example-1024x389.png\" alt=\"add the copied featured image file to create a template override\" class=\"wp-image-1945781\"\/><figcaption class=\"wp-element-caption\">We&#8217;ve added the copied <code>featured-image.php<\/code> template to the theme located at <code>\/tribe\/events\/v2\/list\/event\/<\/code>.<\/figcaption><\/figure>\n\n\n\n<p>Not bad so far? Let&#8217;s move to the next step.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-customize-the-template\">Customize the Template<\/h4>\n\n\n\n<p>Now that the <code>featured-image.php<\/code>&nbsp;file is safely in our theme, we can modify it to suit our needs. In this case, we want to remove the featured image. That means we can open up the file and literally erase everything in it. Seriously, select everything and delete it until you&#8217;re left with a blank file, then save your work.<\/p>\n\n\n\n<p>Here&#8217;s what we get when we revisit the event page:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"\/knowledgebase\/wp-content\/uploads\/2020\/02\/list-featured-image-removed-1024x735.png\" alt=\"how the page appears after the template override\" class=\"wp-image-1945783\"\/><\/figure>\n\n\n\n<p>Heck yeah, the featured image has been removed, which is exactly what we want! <\/p>\n\n\n\n<p>Note that the event description is still not using 100% width as the original CSS class reserves some space for the image, but you can change that by adding the following CSS snippet at <em>wp-admin &gt; Appearance &gt; Customizer &gt; Additional CSS<\/em> section:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: css; title: ; notranslate\" title=\"\">\n.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-details {\n    width: 100%;\n}\n<\/pre><\/div>\n\n\n<p>Although this is a fairly simple example of what&#8217;s possible with template overrides, the same process applies to every other template file in The Events Calendar.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-custom-template-paths-for-plugin-developers\">Custom Template Paths for Plugin Developers<\/h2>\n\n\n\n<p>The calendar views in The Events Calendar use a template engine that determines which file gets loaded based on the plugin namespace associated with that template. When you override a template in your theme, the engine matches the theme file to the correct plugin namespace automatically.<\/p>\n\n\n\n<p>This section covers a more advanced use case: registering a <strong>custom plugin<\/strong> as an additional template override location. This allows a plugin you&#8217;ve built to provide its own versions of TEC template files, which can then themselves be overridden by a child theme. If you&#8217;re looking to customize templates for your own site rather than building a plugin, this is not the right approach \u2014 use a theme override as described above.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-how-plugin-template-paths-work\">How Plugin Template Paths Work<\/h4>\n\n\n\n<p>Each template file in The Events Calendar maps from its plugin source path to a corresponding theme override path. For example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>the-events-calendar\/src\/views\/v2\/list\/event.php<\/code> \u2192 <code>\/tribe\/events\/v2\/list\/event.php<\/code> in your theme<\/li>\n\n\n\n<li><code>events-calendar-pro\/src\/views\/v2\/photo\/event.php<\/code> \u2192 <code>\/tribe\/events-pro\/v2\/photo\/event.php<\/code> in your theme<\/li>\n<\/ul>\n\n\n\n<p>When you register a custom plugin path, you&#8217;re inserting your plugin into that lookup chain at a specific priority. Your plugin&#8217;s version of the file takes precedence over the plugin&#8217;s default, and a child theme&#8217;s version still takes precedence over yours.<\/p>\n\n\n\n<p>For example, with a custom plugin registered:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Default file: <code>events-calendar-pro\/src\/views\/v2\/photo\/event.php<\/code><\/li>\n\n\n\n<li>Your plugin&#8217;s override: <code>my-plugin\/tribe-customizations\/v2\/photo\/event.php<\/code><\/li>\n\n\n\n<li>Theme override of your plugin&#8217;s file: <code>\/tribe\/my-plugin\/v2\/photo\/event.php<\/code><\/li>\n<\/ul>\n\n\n\n<p>Note that if you set a <code>namespace<\/code> value in your folder registration (as shown in the snippet below), you change what the theme must use to override your plugin&#8217;s version. If you omit the <code>namespace<\/code> key, the original plugin namespace is preserved and theme overrides work as normal.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-registering-a-custom-plugin-template-path\">Registering a Custom Plugin Template Path<\/h4>\n\n\n\n<p>Use the <code>tribe_template_path_list<\/code> filter to add your plugin as a template override location:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;!-- wp:syntaxhighlighter\/code {&quot;language&quot;:&quot;php&quot;} --&gt;\n&amp;lt;pre class=&quot;wp-block-syntaxhighlighter-code&quot;&gt;&amp;amp;lt;?php\n\/**\n * Add your own plugin as a template override location for The Events Calendar, Event Tickets, and related plugins.\n * This only applies to templates using the new Template Engine, as of version 5.0.1 that include Updated Views and Blocks.\n *\n * Each custom array&#039;s `path` is whatever you want it to be (i.e. customizable) up until the &#039;v2&#039; part of each\n * template&#039;s override path.\n *\n * So if the The Events Calendar location for a view is:\n *     \/wp-content\/plugins\/the-events-calendar\/src\/views\/v2\/list\/event\/featured-image.php\n *\n * Then this plugin&#039;s override location would be:\n *     \/wp-content\/plugins\/MY-PLUGIN\/tribe-customizations\/v2\/list\/event\/featured-image.php\n *\n * And the theme&#039;s override location would be:\n *     \/wp-content\/themes\/YOUR-CHILD-THEME\/tribe\/my-plugin\/v2\/list\/event\/featured-image.php\n *\n * FYI: Parent\/Child Themes will override this custom plugin&#039;s override. Use your own custom code with the\n *      `tribe_template_theme_path_list` filter instead of this snippet to trump theme overrides if you must, but that is not\n *      typical best practice, although it may be necessary in order to override a theme that comes with V2 Views overrides\n *      (e.g. Avada) that you want to override.\n *\n * @see  \\Tribe__Template::get_template_path_list()\n * @see  \\Tribe__Template::get_template_folder()\n *\n * @param array            $folders  Array of data for loading locations.\n * @param \\Tribe__Template $template Instance of the template engine we are working with.\n *\n * @return array\n *\/\nfunction tribe_v2_additional_plugin_template_locations( $folders, \\Tribe__Template $template ) {\n\t\/\/ Which file namespace your plugin will use.\n\t$plugin_name = &#039;my-plugin&#039;;\n\n\t\/\/ Which order we should load your plugin files at.\n\t$priority = 5;\n\t\/\/ Plugin in which the file was loaded from = 20\n\t\/\/ Events Pro = 25\n\t\/\/ Tickets = 17\n\n\t\/\/ Which folder in your plugin the customizations will be loaded from.\n\t$custom_folder&#x5B;] = &#039;tribe-customizations&#039;;\n\n\t\/\/ Builds the correct file path to look for.\n\t$plugin_path = array_merge(\n\t\t(array) trailingslashit( plugin_dir_path( __FILE__ ) ),\n\t\t(array) $custom_folder,\n\t\tarray_diff( $template-&gt;get_template_folder(), &#x5B; &#039;src&#039;, &#039;views&#039; ] )\n\t);\n\n\t\/**\n\t * Examples:\n\t *\n\t * src\/views\/v2\/list.php -&gt; my-plugin\/tribe-customizations\/v2\/list.php\n\t * src\/views\/v2\/list\/event\/cost.php -&gt; my-plugin\/tribe-customizations\/v2\/list\/event\/cost.php\n\t * src\/views\/v2\/photo\/event\/cost.php -&gt; my-plugin\/tribe-customizations\/v2\/photo\/event\/cost.php\n\t * src\/views\/v2\/organizer\/meta\/details\/phone.php -&gt; my-plugin\/tribe-customizations\/v2\/organizer\/meta\/details\/phone.php\n\t *\/\n\n\t\/*\n\t * Custom loading location for overwriting file loading.\n\t *\/\n\t$folders&#x5B; $plugin_name ] = &#x5B;\n\t\t&#039;id&#039;        =&gt; $plugin_name,\n\t\t&#039;namespace&#039; =&gt; $plugin_name, \/\/ Only set this if you want to overwrite theme namespacing\n\t\t&#039;priority&#039;  =&gt; $priority,\n\t\t&#039;path&#039;      =&gt; $plugin_path,\n\t];\n\n\treturn $folders;\n}\n\nadd_filter( &#039;tribe_template_path_list&#039;, &#039;tribe_v2_additional_plugin_template_locations&#039;, 10, 2 );&amp;lt;\/pre&gt;\n&amp;lt;!-- \/wp:syntaxhighlighter\/code --&gt;\n<\/pre><\/div>\n\n\n<p>The <code>priority<\/code> value controls where in the lookup chain your plugin&#8217;s files sit. For reference, the default priorities used by TEC plugins are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Event Tickets: 17<\/li>\n\n\n\n<li>The Events Calendar (plugin origin): 20<\/li>\n\n\n\n<li>Events Calendar Pro: 25<\/li>\n<\/ul>\n\n\n\n<p>Set your priority based on which plugin&#8217;s templates you intend to override.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Events Calendar comes with a number of template files that determine how the plugin looks and behaves. We call these views. You can customize these files by placing copies of them in your theme. It\u2019s important that you don\u2019t edit the view files directly in the plugin. Instead, we recommend overriding the files in&#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":[84],"tags":[25],"stellar-product-taxonomy":[161],"class_list":["post-1945753","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-theming-overview","tag-customizations","stellar-product-taxonomy-the-events-calendar"],"acf":[],"taxonomy_info":{"category":[{"value":84,"label":"Templating &amp; Layout"}],"post_tag":[{"value":25,"label":"Customizations"}],"stellar-product-taxonomy":[{"value":161,"label":"The Events Calendar"}]},"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:\/\/theeventscalendar.com\/knowledgebase\/author\/jaimetri-be\/"},"comment_info":0,"category_info":[{"term_id":84,"name":"Templating &amp; Layout","slug":"theming-overview","term_group":0,"term_taxonomy_id":84,"taxonomy":"category","description":"","parent":24,"count":59,"filter":"raw","term_order":"0","cat_ID":84,"category_count":59,"category_description":"","cat_name":"Templating &amp; Layout","category_nicename":"theming-overview","category_parent":24}],"tag_info":[{"term_id":25,"name":"Customizations","slug":"customizations","term_group":0,"term_taxonomy_id":25,"taxonomy":"post_tag","description":"","parent":0,"count":102,"filter":"raw","term_order":"0"}],"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1945753","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1945753"}],"version-history":[{"count":11,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1945753\/revisions"}],"predecessor-version":[{"id":1968673,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1945753\/revisions\/1968673"}],"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=1945753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1945753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1945753"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1945753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}