{"id":1965938,"date":"2025-08-03T09:23:44","date_gmt":"2025-08-03T13:23:44","guid":{"rendered":"https:\/\/theeventscalendar.com\/knowledgebase\/?p=1965938"},"modified":"2026-04-17T13:10:12","modified_gmt":"2026-04-17T17:10:12","slug":"troubleshooting-template-overrides","status":"publish","type":"post","link":"https:\/\/theeventscalendar.com\/knowledgebase\/troubleshooting-template-overrides\/","title":{"rendered":"Troubleshooting The Events Calendar Template Overrides"},"content":{"rendered":"\n<p>This article covers two closely related problems: template overrides that aren&#8217;t taking effect, and display or layout issues that appear after a theme or plugin update. Many of the diagnostic steps apply to both, with additional sections for the causes and fixes that are specific to post-update breakage.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-common-symptoms\">Common Symptoms<\/h2>\n\n\n\n<p>Here are the most common signs that something is wrong with template rendering in The Events Calendar:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Template override files in your theme are being ignored \u2014 the plugin&#8217;s default templates are loading instead.<\/li>\n\n\n\n<li>The events archive or calendar views appear blank or show &#8220;No Upcoming Events&#8221; even though events are published.<\/li>\n\n\n\n<li>Styling is broken: layout, padding, fonts, container widths, or header\/footer elements are missing or misaligned.<\/li>\n\n\n\n<li>Single event pages are missing meta fields, venue information, or other event details.<\/li>\n\n\n\n<li>Display settings under <strong>Events \u2192 Settings \u2192 Display<\/strong> show fewer options than expected, or selected settings aren&#8217;t being applied.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-diagnostic-checklist\">Diagnostic Checklist<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-folder-structure-and-file-paths\">Folder Structure and File Paths<\/h4>\n\n\n\n<p>The most common reason an override is ignored is a path mismatch. The folder structure in your theme must exactly mirror the plugin&#8217;s <code>\/src\/views\/v2\/<\/code> directory. For example, to override <code>the-events-calendar\/src\/views\/v2\/list\/event\/featured-image.php<\/code>, the file must be at:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nwp-content\/themes\/your-theme\/tribe\/events\/v2\/list\/event\/featured-image.php\n<\/pre><\/div>\n\n\n<p>The plugin uses <code>tribe\/<\/code> as the root override folder for current views. See <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/customizing-template-files\/\">Customizing Template Files<\/a> for the full folder reference per plugin. You can also find the correct override path in the header comment at the top of each template file.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/images.theeventscalendar.com\/kb\/uploads\/2025\/07\/image-3.png\" alt=\"A template file open in a code editor, with the override path visible in the header comment\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-file-naming-and-case-sensitivity\">File Naming and Case Sensitivity<\/h4>\n\n\n\n<p>A single character difference \u2014 including case \u2014 will prevent an override from being recognized. The file name in your theme must exactly match the original file name in the plugin, including capitalization. For example, <code>single-event.php<\/code> is correct; <code>Single-Event.php<\/code> is not.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-clear-all-caches\">Clear All Caches<\/h4>\n\n\n\n<p>Cached versions of templates or assets can mask your changes. Clear each layer:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>WordPress caching plugins<\/strong> (WP Super Cache, W3 Total Cache, LiteSpeed Cache, WP Rocket, etc.) \u2014 clear the plugin cache completely.<\/li>\n\n\n\n<li><strong>Server-side caching<\/strong> (Cloudflare, CDN, Varnish, or your host&#8217;s built-in cache) \u2014 purge the cache at the server or CDN level.<\/li>\n\n\n\n<li><strong>Permalinks<\/strong> \u2014 go to <strong>Settings \u2192 Permalinks<\/strong> and click <strong>Save Changes<\/strong> without making any changes. This flushes WordPress rewrite rules.<\/li>\n\n\n\n<li><strong>Browser cache<\/strong> \u2014 perform a hard refresh with <kbd>Ctrl+F5<\/kbd> (Windows) or <kbd>Cmd+Shift+R<\/kbd> (Mac).<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-check-for-plugin-conflicts\">Check for Plugin Conflicts<\/h4>\n\n\n\n<p>Another plugin may be interfering with TEC&#8217;s template loading. To test: temporarily deactivate all plugins except The Events Calendar and its add-ons, then check whether your overrides work. If they do, reactivate plugins one at a time \u2014 checking after each \u2014 until you find the conflict. See <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/testing-for-conflicts\/\">Testing for Conflicts<\/a> for a complete guide.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-check-for-theme-conflicts\">Check for Theme Conflicts<\/h4>\n\n\n\n<p>Some themes override TEC template loading in ways that prevent custom files from being picked up. To isolate: temporarily switch to a default WordPress theme (Twenty Twenty-Three or similar) and copy your overrides into that theme&#8217;s directory. If they work there, the issue is with your active theme. Check your theme&#8217;s documentation or support for guidance on how it handles template loading.<\/p>\n\n\n\n<p>Always test theme or plugin updates in a <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/k\/creating-and-using-a-wordpress-staging-site\/\">staging environment<\/a> before applying them to production, and keep backups so you can roll back.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-enable-debugging-and-check-error-logs\">Enable Debugging and Check Error Logs<\/h4>\n\n\n\n<p>PHP errors caused by missing functions or bad file paths often don&#8217;t surface visibly \u2014 they silently prevent templates from loading. Enable WordPress debugging to catch them:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>See <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/how-to-enable-debugging-in-wordpress\/\">How to Enable Debugging in WordPress<\/a>. Once enabled, check <code>wp-content\/debug.log<\/code> for errors related to TEC templates.<\/li>\n\n\n\n<li>Check your web server&#8217;s error logs via your hosting control panel (cPanel, Plesk, etc.) for PHP errors or file permission issues.<\/li>\n\n\n\n<li>Open your browser&#8217;s developer tools (<kbd>F12<\/kbd>) and check the Console and Network tabs for JavaScript errors or failed CSS\/JS requests.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-file-permissions\">File Permissions<\/h4>\n\n\n\n<p>If the web server can&#8217;t read your override files, they will be silently skipped. The recommended permissions are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Directories:<\/strong> <code>755<\/code> (rwxr-xr-x) \u2014 owner can read, write, execute; group and others can read and execute.<\/li>\n\n\n\n<li><strong>Files:<\/strong> <code>644<\/code> (rw-r&#8211;r&#8211;) \u2014 owner can read and write; group and others can read only.<\/li>\n<\/ul>\n\n\n\n<p>If your <code>tribe\/<\/code> directory or any of its files have more restrictive permissions (e.g. <code>600<\/code> for files), the server may not be able to access them. Your hosting control panel&#8217;s file manager can show and correct permissions, or contact your host for assistance.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-check-the-display-template-setting\">Check the Display Template Setting<\/h4>\n\n\n\n<p>Go to <strong>Events \u2192 Settings \u2192 Display \u2192 Calendar \u2192 Events template<\/strong>. If a theme-specific template is selected and that template has changed or broken, try switching to <strong>Default Events Template<\/strong> and saving. This often restores basic layout when a custom or theme-specific template is the cause.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-after-a-theme-or-plugin-update\">After a Theme or Plugin Update<\/h2>\n\n\n\n<p>The diagnostic steps above apply in all cases. When the problem started immediately after a theme or plugin update, the following additional causes are likely and worth checking first.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-why-updates-break-templates\">Why Updates Break Templates<\/h4>\n\n\n\n<p>Updates break template overrides and display for a few common reasons:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Deprecated or removed template functions and hooks.<\/strong> Plugin updates occasionally deprecate functions \u2014 and after enough versions, remove them entirely. If your override calls a function that no longer exists, the template fails silently or throws an error. The Events Calendar 6.0, for example, removed and deprecated many legacy template functions. Check the <a href=\"https:\/\/theeventscalendar.com\/category\/release-notes\/\">release notes<\/a> and <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/developer-changes-version-6-0-with-legacy-views-removal\/\">developer changes documentation<\/a> when upgrading major versions.<\/li>\n\n\n\n<li><strong>Theme CSS conflicting with updated plugin styles.<\/strong> Theme updates may introduce new styles that clash with TEC&#8217;s markup, or a plugin update may introduce redesigned markup that your theme&#8217;s existing CSS no longer targets correctly.<\/li>\n\n\n\n<li><strong>Display Settings changed by the theme update.<\/strong> Some theme updates alter which page templates are available or override TEC&#8217;s display settings. Under <strong>Events \u2192 Settings \u2192 Display<\/strong>, verify that the Events template and stylesheet settings are still set as you intended.<\/li>\n\n\n\n<li><strong>Version mismatch between theme and plugin.<\/strong> Some themes expect a specific version of TEC. Updating the theme without updating TEC (or vice versa) can break compatibility. Make sure both are on their latest supported versions.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-fixing-broken-template-overrides-after-an-update\">Fixing Broken Template Overrides After an Update<\/h4>\n\n\n\n<p>Compare your override files with the current version in the plugin. Look for any function calls in your override that have been deprecated or removed, and replace them with the current equivalents. For example, if your override calls <code>tribe_events_the_notices()<\/code>, update it to <code>tribe_the_notices()<\/code>.<\/p>\n\n\n\n<p>The safest approach is to start fresh: copy the updated plugin template file into your theme override path, then re-apply your customizations around the new code.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-fixing-css-and-styling-conflicts\">Fixing CSS and Styling Conflicts<\/h4>\n\n\n\n<p>Use your browser&#8217;s inspector to compare the rendered markup before and after the update \u2014 class names, container structure, and element nesting may have changed. Write new CSS targeting the updated markup in a <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/how-to-create-a-child-theme-and-why\/\">child theme<\/a> or via the <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/adding-custom-css\/\">Additional CSS<\/a> panel. See <a href=\"https:\/\/theeventscalendar.com\/knowledgebase\/customizing-css\/\">Customizing CSS in The Events Calendar<\/a> for more on finding and targeting the right CSS classes.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article covers two closely related problems: template overrides that aren&#8217;t taking effect, and display or layout issues that appear after a theme or plugin update. Many of the diagnostic steps apply to both, with additional sections for the causes and fixes that are specific to post-update breakage. Common Symptoms Here are the most common&#8230;<\/p>\n","protected":false},"author":63,"featured_media":1955565,"comment_status":"open","ping_status":"open","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":[24,84],"tags":[],"stellar-product-taxonomy":[],"class_list":["post-1965938","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-customizing","category-theming-overview"],"acf":[],"taxonomy_info":{"category":[{"value":24,"label":"Customizations"},{"value":84,"label":"Templating &amp; Layout"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Tristan","author_link":"https:\/\/theeventscalendar.com\/knowledgebase\/author\/tristan\/"},"comment_info":0,"category_info":[{"term_id":24,"name":"Customizations","slug":"customizing","term_group":0,"term_taxonomy_id":24,"taxonomy":"category","description":"","parent":0,"count":76,"filter":"raw","term_order":"0","cat_ID":24,"category_count":76,"category_description":"","cat_name":"Customizations","category_nicename":"customizing","category_parent":0},{"term_id":84,"name":"Templating &amp; Layout","slug":"theming-overview","term_group":0,"term_taxonomy_id":84,"taxonomy":"category","description":"","parent":24,"count":25,"filter":"raw","term_order":"0","cat_ID":84,"category_count":25,"category_description":"","cat_name":"Templating &amp; Layout","category_nicename":"theming-overview","category_parent":24}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1965938","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\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1965938"}],"version-history":[{"count":8,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1965938\/revisions"}],"predecessor-version":[{"id":1969325,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1965938\/revisions\/1969325"}],"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=1965938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1965938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1965938"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1965938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}