{"id":1027855,"date":"2015-11-19T02:21:40","date_gmt":"2015-11-19T10:21:40","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/adding-meta-string-to-single-e\/"},"modified":"2015-11-20T11:08:50","modified_gmt":"2015-11-20T19:08:50","slug":"adding-meta-string-to-single-e","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/adding-meta-string-to-single-e\/","title":{"rendered":"Adding Meta String To Single E"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I&#8217;m trying to add a couple of pieces of the meta data to the top of the single event page but can&#8217;t figure out what I&#8217;m doing wrong as anything I put in either fails or just doesn&#8217;t show up. <\/p>\n<p>Basically I need to add &#8216;event category&#8217; and &#8216;city&#8217; up top, before the price. I&#8217;m adding it in here, but I can&#8217;t find how to just add the city name, rather than the whole meta block.<\/p>\n<pre><code>\t&lt;div class=&quot;tribe-events-schedule updated published tribe-clearfix&quot;&gt;\n\t\t&lt;?php echo tribe_events_event_schedule_details( $event_id, &#039;&lt;h2&gt;&#039;, &#039;&lt;\/h2&gt;&#039; ); ?&gt;\n\t\t&lt;?php if ( tribe_get_cost() ) : ?&gt;\n\t\t\t&lt;span class=&quot;tribe-events-divider&quot;&gt;|&lt;\/span&gt;\n\t\t\t&lt;span class=&quot;tribe-events-cost&quot;&gt;&lt;?php echo tribe_get_cost( null, true ) ?&gt;&lt;\/span&gt;\n\t\t&lt;?php endif; ?&gt;\n\t&lt;\/div&gt;<\/code><\/pre>\n<p>If you can point me in the right direction or let me know the appropriate strings that would be fantastic.<\/p>\n<p>Regards, Iain<\/p>\n","protected":false},"template":"","class_list":["post-1027855","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>Adding Meta String To Single E -<\/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\/adding-meta-string-to-single-e\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Adding Meta String To Single E -\" \/>\n<meta property=\"og:description\" content=\"Hi, I&#8217;m trying to add a couple of pieces of the meta data to the top of the single event page but can&#8217;t figure out what I&#8217;m doing wrong as anything I put in either fails or just doesn&#8217;t show up. Basically I need to add &#8216;event category&#8217; and &#8216;city&#8217; up top, before the price. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/adding-meta-string-to-single-e\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-11-20T19:08:50+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\/adding-meta-string-to-single-e\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/adding-meta-string-to-single-e\/\",\"name\":\"Adding Meta String To Single E -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-11-19T10:21:40+00:00\",\"dateModified\":\"2015-11-20T19:08:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/adding-meta-string-to-single-e\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/adding-meta-string-to-single-e\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/adding-meta-string-to-single-e\/#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\":\"Welcome!\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Pre-Sales Questions\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Adding Meta String To Single E\"}]},{\"@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":"Adding Meta String To Single E -","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\/adding-meta-string-to-single-e\/","og_locale":"en_US","og_type":"article","og_title":"Adding Meta String To Single E -","og_description":"Hi, I&#8217;m trying to add a couple of pieces of the meta data to the top of the single event page but can&#8217;t figure out what I&#8217;m doing wrong as anything I put in either fails or just doesn&#8217;t show up. Basically I need to add &#8216;event category&#8217; and &#8216;city&#8217; up top, before the price. [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/adding-meta-string-to-single-e\/","article_modified_time":"2015-11-20T19:08:50+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\/adding-meta-string-to-single-e\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/adding-meta-string-to-single-e\/","name":"Adding Meta String To Single E -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-11-19T10:21:40+00:00","dateModified":"2015-11-20T19:08:50+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/adding-meta-string-to-single-e\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/adding-meta-string-to-single-e\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/adding-meta-string-to-single-e\/#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":"Welcome!","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/"},{"@type":"ListItem","position":4,"name":"Pre-Sales Questions","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/"},{"@type":"ListItem","position":5,"name":"Adding Meta String To Single E"}]},{"@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\/1027855","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\/1027855\/revisions"}],"predecessor-version":[{"id":1028238,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1027855\/revisions\/1028238"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1027855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}