{"id":1320236,"date":"2017-07-12T14:05:01","date_gmt":"2017-07-12T21:05:01","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-remove-events-calendar-from-custom-template\/"},"modified":"2017-07-12T14:09:04","modified_gmt":"2017-07-12T21:09:04","slug":"how-to-remove-events-calendar-from-custom-template","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-remove-events-calendar-from-custom-template\/","title":{"rendered":"How to remove &quot;meta, link &amp; scripts&quot; from &quot;wp_head&quot; on custom page template"},"content":{"rendered":"<p>How do I prevent the following from showing in wp_head on my custom page template? <\/p>\n<p><code>&lt;meta name=&quot;tec-api-version&quot; content=&quot;v1&quot;&gt;&lt;meta name=&quot;tec-api-origin&quot; content=&quot;http:\/\/localhost\/sister&quot;&gt;&lt;link rel=&quot;https:\/\/theeventscalendar.com&quot; href=&quot;http:\/\/localhost\/sister\/wp-json\/tribe\/events\/v1\/&quot; \/&gt;<\/code><\/p>\n<pre><code>&lt;script&gt;\n\t\t( function ( body ) {\n\t\t\t&#039;use strict&#039;;\n\t\t\tbody.className = body.className.replace( \/\\btribe-no-js\\b\/, &#039;tribe-js&#039; );\n\t\t} )( document.body );\n\t\t&lt;\/script&gt;\n\t\t&lt;script type=&#039;text\/javascript&#039;&gt; \/* &lt;![CDATA[ *\/var tribe_l10n_datatables = {&quot;aria&quot;:{&quot;sort_ascending&quot;:&quot;: activate to sort column ascending&quot;,&quot;sort_descending&quot;:&quot;: activate to sort column descending&quot;},&quot;length_menu&quot;:&quot;Show _MENU_ entries&quot;,&quot;empty_table&quot;:&quot;No data available in table&quot;,&quot;info&quot;:&quot;Showing _START_ to _END_ of _TOTAL_ entries&quot;,&quot;info_empty&quot;:&quot;Showing 0 to 0 of 0 entries&quot;,&quot;info_filtered&quot;:&quot;(filtered from _MAX_ total entries)&quot;,&quot;zero_records&quot;:&quot;No matching records found&quot;,&quot;search&quot;:&quot;Search:&quot;,&quot;pagination&quot;:{&quot;all&quot;:&quot;All&quot;,&quot;next&quot;:&quot;Next&quot;,&quot;previous&quot;:&quot;Previous&quot;},&quot;select&quot;:{&quot;rows&quot;:{&quot;0&quot;:&quot;&quot;,&quot;_&quot;:&quot;: Selected %d rows&quot;,&quot;1&quot;:&quot;: Selected 1 row&quot;}},&quot;datepicker&quot;:{&quot;dayNames&quot;:[&quot;Sunday&quot;,&quot;Monday&quot;,&quot;Tuesday&quot;,&quot;Wednesday&quot;,&quot;Thursday&quot;,&quot;Friday&quot;,&quot;Saturday&quot;],&quot;dayNamesShort&quot;:[&quot;Sun&quot;,&quot;Mon&quot;,&quot;Tue&quot;,&quot;Wed&quot;,&quot;Thu&quot;,&quot;Fri&quot;,&quot;Sat&quot;],&quot;dayNamesMin&quot;:[&quot;S&quot;,&quot;M&quot;,&quot;T&quot;,&quot;W&quot;,&quot;T&quot;,&quot;F&quot;,&quot;S&quot;],&quot;monthNames&quot;:[&quot;January&quot;,&quot;February&quot;,&quot;March&quot;,&quot;April&quot;,&quot;May&quot;,&quot;June&quot;,&quot;July&quot;,&quot;August&quot;,&quot;September&quot;,&quot;October&quot;,&quot;November&quot;,&quot;December&quot;],&quot;monthNamesShort&quot;:[&quot;January&quot;,&quot;February&quot;,&quot;March&quot;,&quot;April&quot;,&quot;May&quot;,&quot;June&quot;,&quot;July&quot;,&quot;August&quot;,&quot;September&quot;,&quot;October&quot;,&quot;November&quot;,&quot;December&quot;],&quot;nextText&quot;:&quot;Next&quot;,&quot;prevText&quot;:&quot;Prev&quot;,&quot;currentText&quot;:&quot;Today&quot;,&quot;closeText&quot;:&quot;Done&quot;}};\/* ]]&gt; *\/ &lt;\/script&gt;<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-1320236","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>How to remove &quot;meta, link &amp; scripts&quot; from &quot;wp_head&quot; on custom page template -<\/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\/how-to-remove-events-calendar-from-custom-template\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to remove &quot;meta, link &amp; scripts&quot; from &quot;wp_head&quot; on custom page template -\" \/>\n<meta property=\"og:description\" content=\"How do I prevent the following from showing in wp_head on my custom page template? &lt;meta name=&quot;tec-api-version&quot; content=&quot;v1&quot;&gt;&lt;meta name=&quot;tec-api-origin&quot; content=&quot;http:\/\/localhost\/sister&quot;&gt;&lt;link rel=&quot;https:\/\/theeventscalendar.com&quot; href=&quot;http:\/\/localhost\/sister\/wp-json\/tribe\/events\/v1\/&quot; \/&gt; &lt;script&gt; ( function ( body ) { &#039;use strict&#039;; body.className = body.className.replace( \/btribe-no-jsb\/, &#039;tribe-js&#039; ); } )( document.body ); &lt;\/script&gt; &lt;script type=&#039;text\/javascript&#039;&gt; \/* &lt;![CDATA[ *\/var tribe_l10n_datatables = {&quot;aria&quot;:{&quot;sort_ascending&quot;:&quot;: activate to sort column [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-remove-events-calendar-from-custom-template\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-07-12T21:09:04+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=\"2 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\/how-to-remove-events-calendar-from-custom-template\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-remove-events-calendar-from-custom-template\/\",\"name\":\"How to remove &quot;meta, link &amp; scripts&quot; from &quot;wp_head&quot; on custom page template -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-07-12T21:05:01+00:00\",\"dateModified\":\"2017-07-12T21:09:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-remove-events-calendar-from-custom-template\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-remove-events-calendar-from-custom-template\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-remove-events-calendar-from-custom-template\/#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\":\"How to remove &quot;meta, link &amp; scripts&quot; from &quot;wp_head&quot; on custom page template\"}]},{\"@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":"How to remove &quot;meta, link &amp; scripts&quot; from &quot;wp_head&quot; on custom page template -","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\/how-to-remove-events-calendar-from-custom-template\/","og_locale":"en_US","og_type":"article","og_title":"How to remove &quot;meta, link &amp; scripts&quot; from &quot;wp_head&quot; on custom page template -","og_description":"How do I prevent the following from showing in wp_head on my custom page template? &lt;meta name=&quot;tec-api-version&quot; content=&quot;v1&quot;&gt;&lt;meta name=&quot;tec-api-origin&quot; content=&quot;http:\/\/localhost\/sister&quot;&gt;&lt;link rel=&quot;https:\/\/theeventscalendar.com&quot; href=&quot;http:\/\/localhost\/sister\/wp-json\/tribe\/events\/v1\/&quot; \/&gt; &lt;script&gt; ( function ( body ) { &#039;use strict&#039;; body.className = body.className.replace( \/btribe-no-jsb\/, &#039;tribe-js&#039; ); } )( document.body ); &lt;\/script&gt; &lt;script type=&#039;text\/javascript&#039;&gt; \/* &lt;![CDATA[ *\/var tribe_l10n_datatables = {&quot;aria&quot;:{&quot;sort_ascending&quot;:&quot;: activate to sort column [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-remove-events-calendar-from-custom-template\/","article_modified_time":"2017-07-12T21:09:04+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-remove-events-calendar-from-custom-template\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-remove-events-calendar-from-custom-template\/","name":"How to remove &quot;meta, link &amp; scripts&quot; from &quot;wp_head&quot; on custom page template -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-07-12T21:05:01+00:00","dateModified":"2017-07-12T21:09:04+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-remove-events-calendar-from-custom-template\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-remove-events-calendar-from-custom-template\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-remove-events-calendar-from-custom-template\/#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":"How to remove &quot;meta, link &amp; scripts&quot; from &quot;wp_head&quot; on custom page template"}]},{"@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\/1320236","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":2,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1320236\/revisions"}],"predecessor-version":[{"id":1320547,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1320236\/revisions\/1320547"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1320236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}