{"id":103774,"date":"2014-02-12T09:48:41","date_gmt":"2014-02-12T17:48:41","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/changes-to-default-template-php-not-showing-up\/"},"modified":"2014-06-07T07:59:17","modified_gmt":"2014-06-07T14:59:17","slug":"changes-to-default-template-php-not-showing-up","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-default-template-php-not-showing-up\/","title":{"rendered":"Changes to default-template.php not showing up?"},"content":{"rendered":"<p>Using the info found here https:\/\/theeventscalendar.com\/support\/forums\/topic\/related-events-duplicate-venues-before-html\/ <\/p>\n<p>I&#8217;m attempting to hide the tribe_events_before_html on single event pages only. <\/p>\n<p>I copied the default-template.php to the THEME-NAME\/tribe-events folder. I made changes to the file. Didn&#8217;t work. Tested it by simply adding text to the file after the call to before_html and commenting out the before_html call &#8211; neither of those worked. I couldn&#8217;t see the changes on the page(s). I went so far as to make the same changes on the actual plugin default-template file, still no luck.<\/p>\n<p>It&#8217;s not a caching issue &#8211; I tried it in three browsers, two with completely fresh caches, shift + refresh on working browser as well as clearing cache.<\/p>\n<p>My question is, is there something else that would block that file from being used?<\/p>\n<p>Custom files I&#8217;m using are with modest changes:<br \/>\nsingle-event.php<br \/>\nlist\/content.php<br \/>\nlist\/single-event.php<br \/>\nmodules\/address.php<br \/>\nmonth\/single-day.php<br \/>\npro\/single-organizer.php<br \/>\npro\/single-venue.php<br \/>\npro\/tribe-events-pro.css<\/p>\n<p>Added to my functions file:<br \/>\n+Remove iCal Import<br \/>\n+Remove other meta info from view<br \/>\n+Change meta titles Venue &amp; Organizer<\/p>\n<p>I hope this is enough info to work out a solution.<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nEDIT &#8211; Simple Solution found.<br \/>\nSorry, I closed this without thinking to add the solution. Problem explored and reasons for file not showing are explained below. Solution for blocking before html was to simply add the following style to my custom style sheet:<br \/>\n<code>.single-tribe_events .tribe-events-before-html { display: none; }<\/code><\/p>\n","protected":false},"template":"","class_list":["post-103774","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>Changes to default-template.php not showing up? -<\/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\/changes-to-default-template-php-not-showing-up\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Changes to default-template.php not showing up? -\" \/>\n<meta property=\"og:description\" content=\"Using the info found here https:\/\/theeventscalendar.com\/support\/forums\/topic\/related-events-duplicate-venues-before-html\/ I&#8217;m attempting to hide the tribe_events_before_html on single event pages only. I copied the default-template.php to the THEME-NAME\/tribe-events folder. I made changes to the file. Didn&#8217;t work. Tested it by simply adding text to the file after the call to before_html and commenting out the before_html call &#8211; neither [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-default-template-php-not-showing-up\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-06-07T14:59:17+00:00\" \/>\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\/changes-to-default-template-php-not-showing-up\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-default-template-php-not-showing-up\/\",\"name\":\"Changes to default-template.php not showing up? -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-02-12T17:48:41+00:00\",\"dateModified\":\"2014-06-07T14:59:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-default-template-php-not-showing-up\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-default-template-php-not-showing-up\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-default-template-php-not-showing-up\/#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\":\"Changes to default-template.php not showing up?\"}]},{\"@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":"Changes to default-template.php not showing up? -","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\/changes-to-default-template-php-not-showing-up\/","og_locale":"en_US","og_type":"article","og_title":"Changes to default-template.php not showing up? -","og_description":"Using the info found here https:\/\/theeventscalendar.com\/support\/forums\/topic\/related-events-duplicate-venues-before-html\/ I&#8217;m attempting to hide the tribe_events_before_html on single event pages only. I copied the default-template.php to the THEME-NAME\/tribe-events folder. I made changes to the file. Didn&#8217;t work. Tested it by simply adding text to the file after the call to before_html and commenting out the before_html call &#8211; neither [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-default-template-php-not-showing-up\/","article_modified_time":"2014-06-07T14:59:17+00:00","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\/changes-to-default-template-php-not-showing-up\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-default-template-php-not-showing-up\/","name":"Changes to default-template.php not showing up? -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-02-12T17:48:41+00:00","dateModified":"2014-06-07T14:59:17+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-default-template-php-not-showing-up\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-default-template-php-not-showing-up\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-default-template-php-not-showing-up\/#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":"Changes to default-template.php not showing up?"}]},{"@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\/103774","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\/103774\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=103774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}