{"id":1222951,"date":"2017-01-24T08:10:41","date_gmt":"2017-01-24T16:10:41","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trouble-editing-default-template-php\/"},"modified":"2017-01-24T08:10:41","modified_gmt":"2017-01-24T16:10:41","slug":"trouble-editing-default-template-php","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trouble-editing-default-template-php\/","title":{"rendered":"Trouble editing default template php"},"content":{"rendered":"<p>The header and footer do not show when I choose the &#8220;Default Events Template&#8221; . The list is correct with photo, date description etc.<br \/>\nIf I choose the &#8220;Default Template&#8221; I have the header and footer but then the list looks like just that &#8212; a list.<\/p>\n<p>I am not sure how to edit the php to have the sites header and footer visible.<\/p>\n<p>Thank you,<\/p>\n<p>Debra<\/p>\n<p>http:\/\/bwme.org\/member-events\/<\/p>\n<p>&lt;?php<br \/>\n\/**<br \/>\n * Default Events Template<br \/>\n * This file is the basic wrapper template for all the views if &#8216;Default Events Template&#8217;<br \/>\n * is selected in Events -&gt; Settings -&gt; Template -&gt; Events Template.<br \/>\n *<br \/>\n * Override this template in your own theme by creating a file at [your-theme]\/tribe-events\/default-template.php<br \/>\n *<br \/>\n * @package TribeEventsCalendar<br \/>\n *<br \/>\n *\/<\/p>\n<p>if ( ! defined( &#8216;ABSPATH&#8217; ) ) {<br \/>\n\tdie( &#8216;-1&#8217; );<br \/>\n}<\/p>\n<p>get_header();<br \/>\n?&gt;<br \/>\n&lt;div id=&#8221;tribe-events-pg-template&#8221;&gt;<br \/>\n\t&lt;?php tribe_events_before_html(); ?&gt;<br \/>\n\t&lt;?php tribe_get_view(); ?&gt;<br \/>\n\t&lt;?php tribe_events_after_html(); ?&gt;<br \/>\n&lt;\/div&gt; &lt;!&#8211; #tribe-events-pg-template &#8211;&gt;<br \/>\n&lt;?php<br \/>\nget_footer();<\/p>\n","protected":false},"template":"","class_list":["post-1222951","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>Trouble editing default template php -<\/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\/trouble-editing-default-template-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Trouble editing default template php -\" \/>\n<meta property=\"og:description\" content=\"The header and footer do not show when I choose the &#8220;Default Events Template&#8221; . The list is correct with photo, date description etc. If I choose the &#8220;Default Template&#8221; I have the header and footer but then the list looks like just that &#8212; a list. I am not sure how to edit the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trouble-editing-default-template-php\/\" \/>\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\/trouble-editing-default-template-php\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trouble-editing-default-template-php\/\",\"name\":\"Trouble editing default template php -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-01-24T16:10:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trouble-editing-default-template-php\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trouble-editing-default-template-php\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trouble-editing-default-template-php\/#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\":\"Community Events\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Trouble editing default template php\"}]},{\"@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":"Trouble editing default template php -","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\/trouble-editing-default-template-php\/","og_locale":"en_US","og_type":"article","og_title":"Trouble editing default template php -","og_description":"The header and footer do not show when I choose the &#8220;Default Events Template&#8221; . The list is correct with photo, date description etc. If I choose the &#8220;Default Template&#8221; I have the header and footer but then the list looks like just that &#8212; a list. I am not sure how to edit the [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trouble-editing-default-template-php\/","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\/trouble-editing-default-template-php\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trouble-editing-default-template-php\/","name":"Trouble editing default template php -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-01-24T16:10:41+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trouble-editing-default-template-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/trouble-editing-default-template-php\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trouble-editing-default-template-php\/#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":"Community Events","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/"},{"@type":"ListItem","position":5,"name":"Trouble editing default template php"}]},{"@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\/1222951","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\/1222951\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1222951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}