{"id":1056685,"date":"2016-01-15T09:00:48","date_gmt":"2016-01-15T17:00:48","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/child-theme\/"},"modified":"2016-02-18T08:34:57","modified_gmt":"2016-02-18T16:34:57","slug":"child-theme","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/child-theme\/","title":{"rendered":"Child Theme"},"content":{"rendered":"<p>Hi<\/p>\n<p>I want to make changes to list\/content.php and have it so that when I update the Events Calendar I do not have to redo this. I&#8217;ve tried to make a child theme but it doesnt show any of the changes.<\/p>\n<p>So far I have added the following folder:<\/p>\n<p>wp-content\/themes\/my-theme\/tribe-events\/views\/list\/content.php (obviously changing my-theme to my theme&#8217;s name)<\/p>\n<p>Now I want an adsense unit under &#8220;Upcoming events&#8221; but above the  &#8220;previous events&#8221; &amp; &#8220;next events&#8221; so I&#8217;ve made the following change to the code:<\/p>\n<p>&lt;!&#8211; List Title &#8211;&gt;<br \/>\n\t&lt;?php do_action( &#8216;tribe_events_before_the_title&#8217; ); ?&gt;<\/p>\n<h2>&lt;?php echo tribe_get_events_title() ?&gt;<\/h2>\n<p>\t&lt;?php do_action( &#8216;tribe_events_after_the_title&#8217; ); ?&gt;<br \/>\n&lt;script async src=&#8221;\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js&#8221;&gt;&lt;\/script&gt;<br \/>\n&lt;!&#8211; Content Responsive &#8211;&gt;<br \/>\n&lt;ins class=&#8221;adsbygoogle&#8221;<br \/>\n     style=&#8221;display:block&#8221;<br \/>\n     data-ad-client=&#8221;ca-pub-8764xxxxxxxxxxxx&#8221;<br \/>\n    data-ad-slot=&#8221;7270xxxxxx&#8221;<br \/>\n     data-ad-format=&#8221;auto&#8221;&gt;&lt;\/ins&gt;<br \/>\n&lt;script&gt;<br \/>\n(adsbygoogle = window.adsbygoogle || []).push({});<br \/>\n&lt;\/script&gt;<br \/>\n\t&lt;!&#8211; Notices &#8211;&gt;<br \/>\n\t&lt;?php tribe_the_notices() ?&gt;<\/p>\n<p>but when I load it all nothing seems to happen. <\/p>\n<p>I&#8217;ve also tried <\/p>\n<p>wp-content\/themes\/my-theme\/tribe-events\/src\/views\/list\/content.php   and<\/p>\n<p>wp-content\/themes\/my-child-theme\/tribe-events\/views\/list\/content.php (again changing my-child-theme to my own theme&#8217;s name)<\/p>\n<p>but nothing seems to work.<\/p>\n<p>I am using default page template and full styles.<\/p>\n<p>Any help would be much appreciated!<\/p>\n","protected":false},"template":"","class_list":["post-1056685","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>Child Theme -<\/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\/child-theme\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Child Theme -\" \/>\n<meta property=\"og:description\" content=\"Hi I want to make changes to list\/content.php and have it so that when I update the Events Calendar I do not have to redo this. I&#8217;ve tried to make a child theme but it doesnt show any of the changes. So far I have added the following folder: wp-content\/themes\/my-theme\/tribe-events\/views\/list\/content.php (obviously changing my-theme to my [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/child-theme\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-18T16:34:57+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\/child-theme\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/child-theme\/\",\"name\":\"Child Theme -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-01-15T17:00:48+00:00\",\"dateModified\":\"2016-02-18T16:34:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/child-theme\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/child-theme\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/child-theme\/#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\":\"Child Theme\"}]},{\"@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":"Child Theme -","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\/child-theme\/","og_locale":"en_US","og_type":"article","og_title":"Child Theme -","og_description":"Hi I want to make changes to list\/content.php and have it so that when I update the Events Calendar I do not have to redo this. I&#8217;ve tried to make a child theme but it doesnt show any of the changes. So far I have added the following folder: wp-content\/themes\/my-theme\/tribe-events\/views\/list\/content.php (obviously changing my-theme to my [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/child-theme\/","article_modified_time":"2016-02-18T16:34:57+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\/child-theme\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/child-theme\/","name":"Child Theme -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-01-15T17:00:48+00:00","dateModified":"2016-02-18T16:34:57+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/child-theme\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/child-theme\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/child-theme\/#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":"Child Theme"}]},{"@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\/1056685","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":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1056685\/revisions"}],"predecessor-version":[{"id":1056794,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1056685\/revisions\/1056794"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1056685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}