{"id":920112,"date":"2014-12-16T10:43:30","date_gmt":"2014-12-16T18:43:30","guid":{"rendered":"https:\/\/tri.be\/support\/forums\/topic\/template-customization-calendar-not-displaying\/"},"modified":"2015-01-22T15:49:54","modified_gmt":"2015-01-22T23:49:54","slug":"template-customization-calendar-not-displaying","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-customization-calendar-not-displaying\/","title":{"rendered":"Template Customization Calendar Not Displaying"},"content":{"rendered":"<p>Hey, <\/p>\n<p>Hoping I can get some help on an element that is causing me a problem. I am customizing the template for my homepage on a site. Basically I want the calendar view to display on the homepage of the site. I am following the directions in the template instructions https:\/\/theeventscalendar.com\/support\/documentation\/events-calendar-themers-guide\/ and just can&#8217;t seem to get it to display correctly. <\/p>\n<p>For some reason the the day and month navigation display across the top, but the actual calendar loop is not displaying. I have to be doing something incorrectly. Can anyone point me in the right direction. Here is what I mean in a screen grab. https:\/\/www.dropbox.com\/s\/37yqiniiupkz5wj\/calendar.jpg?dl=0 <\/p>\n<p>Also here is the code I am using. <\/p>\n<p>Thanks so much for any suggestions about what I am doing wrong. <\/p>\n<p>&lt;?php<br \/>\n\/**<br \/>\n * Month View Content Template<br \/>\n * The content template for the month view of events. This template is also used for<br \/>\n * the response that is returned on month view ajax requests.<br \/>\n *<br \/>\n * Override this template in your own theme by creating a file at [your-theme]\/tribe-events\/month\/content.php<br \/>\n *<br \/>\n * @package TribeEventsCalendar<br \/>\n * @since  3.0<br \/>\n * @author Modern Tribe Inc.<br \/>\n *<br \/>\n *\/<\/p>\n<p>if ( !defined(&#8216;ABSPATH&#8217;) ) { die(&#8216;-1&#8217;); } ?&gt;<\/p>\n<p>&lt;div id=&#8221;tribe-events-content&#8221; class=&#8221;tribe-events-month&#8221;&gt;<\/p>\n<p>\t&lt;!&#8211; Month Title &#8211;&gt;<br \/>\n\t&lt;?php do_action( &#8216;tribe_events_before_the_title&#8217; ) ?&gt;<br \/>\n\t&lt;h2 class=&#8221;tribe-events-page-title&#8221;&gt;&lt;?php tribe_events_title() ?&gt;&lt;\/h2&gt;<br \/>\n\t&lt;?php do_action( &#8216;tribe_events_after_the_title&#8217; ) ?&gt;<\/p>\n<p>\t&lt;!&#8211; Notices &#8211;&gt;<br \/>\n\t&lt;?php tribe_events_the_notices() ?&gt;<\/p>\n<p>\t&lt;!&#8211; Month Header &#8211;&gt;<br \/>\n\t&lt;?php do_action( &#8216;tribe_events_before_header&#8217; ) ?&gt;<br \/>\n\t&lt;div id=&#8221;tribe-events-header&#8221; &lt;?php tribe_events_the_header_attributes() ?&gt;&gt;<\/p>\n<p>\t\t&lt;!&#8211; Header Navigation &#8211;&gt;<br \/>\n\t\t&lt;?php tribe_get_template_part( &#8216;month\/nav&#8217; ); ?&gt;<\/p>\n<p>\t&lt;\/div&gt;&lt;!&#8211; #tribe-events-header &#8211;&gt;<br \/>\n\t&lt;?php do_action( &#8216;tribe_events_after_header&#8217; ) ?&gt;<\/p>\n<p>\t&lt;?php<br \/>\n\tglobal $detect;<br \/>\n\tif($detect-&gt;isMobile()) {<br \/>\n\t\t\t\t\t\t?&gt;<br \/>\n                        &lt;style&gt;<br \/>\n                        #tribe-events-mobile-template{display:block}<br \/>\n                        &lt;\/style&gt;<br \/>\n                        &lt;?php<br \/>\n\t\t\t\t\t\t\t\/\/ if on mobile, grid should not be shown<br \/>\n\t\t\t\t\t\t\t\/\/ don&#8217;t know what to do here, so leave it blank!<br \/>\n\t\t\t\t\t\t} else { ?&gt;<\/p>\n<p>\t&lt;!&#8211; Month Grid &#8211;&gt;<br \/>\n\t&lt;?php tribe_get_template_part( &#8216;month\/loop&#8217;, &#8216;grid&#8217; ) ?&gt;<br \/>\n\t&lt;!&#8211; Month Footer &#8211;&gt;<br \/>\n\t&lt;?php do_action( &#8216;tribe_events_before_footer&#8217; ) ?&gt;<br \/>\n\t&lt;div id=&#8221;tribe-events-footer&#8221;&gt;<\/p>\n<p>\t\t&lt;!&#8211; Footer Navigation &#8211;&gt;<br \/>\n\t\t&lt;?php do_action( &#8216;tribe_events_before_footer_nav&#8217; ); ?&gt;<br \/>\n\t\t&lt;?php tribe_get_template_part( &#8216;month\/nav&#8217; ); ?&gt;<br \/>\n\t\t&lt;?php do_action( &#8216;tribe_events_after_footer_nav&#8217; ); ?&gt;<\/p>\n<p>\t&lt;\/div&gt;&lt;!&#8211; #tribe-events-footer &#8211;&gt;<br \/>\n\t&lt;?php do_action( &#8216;tribe_events_after_footer&#8217; ) ?&gt;<\/p>\n<p>\t&lt;?php<br \/>\n\t} \/\/ end if is not mobile<br \/>\n\t?&gt;<\/p>\n<p>\t&lt;div id=&#8221;tribe-events-mobile-template&#8221;&gt;<br \/>\n\t\t&lt;?php do_action( &#8216;tribe_events_before_template&#8217; ); ?&gt;<br \/>\n\t\t&lt;?php while (tribe_events_have_month_days()) : tribe_events_the_month_day(); ?&gt;<br \/>\n\t\t\t&lt;?php tribe_get_template_part( &#8216;list\/single-event_month_mob&#8217; );?&gt;<br \/>\n\t\t&lt;?php endwhile; ?&gt;<\/p>\n<p>\t\t&lt;?php<br \/>\n\t\t\techo &#8216;&lt;div id=&#8221;tribe-events-mobile-nav&#8221;&gt;&#8217;;<br \/>\n\t\t\t\t\ttribe_get_template_part( &#8216;month\/nav&#8217; );<br \/>\n\t\t\t\techo &#8216;&lt;\/div&gt;&#8217;;<br \/>\n\t\t?&gt;<\/p>\n<p>\t\t&lt;?php do_action( &#8216;tribe_events_after_template&#8217; ) ?&gt;<br \/>\n\t&lt;\/div&gt;<\/p>\n<p>&lt;\/div&gt;&lt;!&#8211; #tribe-events-content &#8211;&gt;<\/p>\n","protected":false},"template":"","class_list":["post-920112","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>Template Customization Calendar Not Displaying -<\/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\/template-customization-calendar-not-displaying\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Template Customization Calendar Not Displaying -\" \/>\n<meta property=\"og:description\" content=\"Hey, Hoping I can get some help on an element that is causing me a problem. I am customizing the template for my homepage on a site. Basically I want the calendar view to display on the homepage of the site. I am following the directions in the template instructions https:\/\/theeventscalendar.com\/support\/documentation\/events-calendar-themers-guide\/ and just can&#8217;t seem [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-customization-calendar-not-displaying\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-01-22T23:49:54+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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-customization-calendar-not-displaying\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-customization-calendar-not-displaying\/\",\"name\":\"Template Customization Calendar Not Displaying -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-12-16T18:43:30+00:00\",\"dateModified\":\"2015-01-22T23:49:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-customization-calendar-not-displaying\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-customization-calendar-not-displaying\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-customization-calendar-not-displaying\/#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\":\"Template Customization Calendar Not Displaying\"}]},{\"@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":"Template Customization Calendar Not Displaying -","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\/template-customization-calendar-not-displaying\/","og_locale":"en_US","og_type":"article","og_title":"Template Customization Calendar Not Displaying -","og_description":"Hey, Hoping I can get some help on an element that is causing me a problem. I am customizing the template for my homepage on a site. Basically I want the calendar view to display on the homepage of the site. I am following the directions in the template instructions https:\/\/theeventscalendar.com\/support\/documentation\/events-calendar-themers-guide\/ and just can&#8217;t seem [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-customization-calendar-not-displaying\/","article_modified_time":"2015-01-22T23:49:54+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-customization-calendar-not-displaying\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-customization-calendar-not-displaying\/","name":"Template Customization Calendar Not Displaying -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-12-16T18:43:30+00:00","dateModified":"2015-01-22T23:49:54+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-customization-calendar-not-displaying\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-customization-calendar-not-displaying\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-customization-calendar-not-displaying\/#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":"Template Customization Calendar Not Displaying"}]},{"@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\/920112","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\/920112\/revisions"}],"predecessor-version":[{"id":936438,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/920112\/revisions\/936438"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=920112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}