{"id":24528,"date":"2012-09-04T10:33:37","date_gmt":"2012-09-04T17:33:37","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/template-override-for-single-month\/"},"modified":"2012-09-04T10:33:37","modified_gmt":"2012-09-04T17:33:37","slug":"template-override-for-single-month","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-override-for-single-month\/","title":{"rendered":"Template Override for Single Month"},"content":{"rendered":"<p>Hey guys,<\/p>\n<p>I&#8217;ve read through the Themer&#8217;s Guide (https:\/\/theeventscalendar.com\/support\/documentation\/events-calendar-themers-guide\/) but wasn&#8217;t for sure if this was possible or not.<\/p>\n<p>What I would like to do is be able to override specific month&#8217;s calendar grid view to set a block of text at the top of the calendar. For instance I have a few events that are &#8220;_________ emphasis month.&#8221; I&#8217;d rather not have an event that show up in every single day of the grid view. Instead I would rather just have some text at the top of the grid that says &#8220;September is ________________ month.&#8221;<\/p>\n<p>I am perfectly fine with hard coding this into a template override file and do not expect to be able to enter this in as an &#8216;event.&#8217; That would be way to involved I&#8217;m sure.<\/p>\n<p>So is it possible to create template overrides like gridview-2012-08.php that would override just August of 2012? If so what is the naming convention for that? Or is there another way to do this? Maybe just a check to see what month is active and output content if the month matches up?<\/p>\n<p>Thanks,<br \/>\nGrant<\/p>\n","protected":false},"template":"","class_list":["post-24528","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 Override for Single Month -<\/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-override-for-single-month\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Template Override for Single Month -\" \/>\n<meta property=\"og:description\" content=\"Hey guys, I&#8217;ve read through the Themer&#8217;s Guide (https:\/\/theeventscalendar.com\/support\/documentation\/events-calendar-themers-guide\/) but wasn&#8217;t for sure if this was possible or not. What I would like to do is be able to override specific month&#8217;s calendar grid view to set a block of text at the top of the calendar. For instance I have a few events that [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-override-for-single-month\/\" \/>\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\/template-override-for-single-month\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-override-for-single-month\/\",\"name\":\"Template Override for Single Month -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2012-09-04T17:33:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-override-for-single-month\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-override-for-single-month\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-override-for-single-month\/#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 Override for Single Month\"}]},{\"@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 Override for Single Month -","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-override-for-single-month\/","og_locale":"en_US","og_type":"article","og_title":"Template Override for Single Month -","og_description":"Hey guys, I&#8217;ve read through the Themer&#8217;s Guide (https:\/\/theeventscalendar.com\/support\/documentation\/events-calendar-themers-guide\/) but wasn&#8217;t for sure if this was possible or not. What I would like to do is be able to override specific month&#8217;s calendar grid view to set a block of text at the top of the calendar. For instance I have a few events that [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-override-for-single-month\/","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\/template-override-for-single-month\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-override-for-single-month\/","name":"Template Override for Single Month -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2012-09-04T17:33:37+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-override-for-single-month\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-override-for-single-month\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-override-for-single-month\/#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 Override for Single Month"}]},{"@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\/24528","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\/24528\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=24528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}