{"id":120852,"date":"2014-03-18T14:18:59","date_gmt":"2014-03-18T21:18:59","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/template-tags-in-tabs\/"},"modified":"2014-04-18T06:37:40","modified_gmt":"2014-04-18T13:37:40","slug":"template-tags-in-tabs","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-tags-in-tabs\/","title":{"rendered":"template tags in tabs?"},"content":{"rendered":"<p>Hi,<br \/>\nIm trying to built own templates for single venue, single org, and single event.<br \/>\nTaking single-venue.php for example &#8211; i like to create a tab system where I include<br \/>\n1. Venue description (content)<br \/>\n2. Map (google embeded map)<br \/>\n3. List organizers related to that venue. (In my case artists)<br \/>\nTabs working fine with plain text, and Last one (3) works fine using a shortcode. However &#8211; i can&#8217;t figure out how i should call the content and the map (1 and 2) within the tabs to make it display. It looks like this, and i insert the template tags i like to display. (which displays fine outside tabs) Please advice&#8230; <\/p>\n<p>&lt;?php<br \/>\n$t = &#8216;[tabgroup title=&#8221;&#8221;]<br \/>\n[tab title=&#8221;About&#8221;]<br \/>\n&lt;?php the_content(); ?&gt;<br \/>\n[\/tab]<br \/>\n[tab title=&#8221;Map&#8221;]<br \/>\n&lt;?php echo tribe_get_embedded_map(); ?&gt;<br \/>\n[\/tab]<br \/>\n[tab title=&#8221;Artists&#8221;]<br \/>\n[subposts_show_childs slug=&#8221;gallery-artists&#8221; link=&#8221;true&#8221; excerpt=&#8221;true&#8221;]<br \/>\n[\/tab]<br \/>\n[\/tabgroup]&#8217;;<br \/>\necho do_shortcode( $t );<br \/>\n?&gt; <\/p>\n<p>Im using Flatsome Theme if of interest. <\/p>\n","protected":false},"template":"","class_list":["post-120852","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 tags in tabs? -<\/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-tags-in-tabs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"template tags in tabs? -\" \/>\n<meta property=\"og:description\" content=\"Hi, Im trying to built own templates for single venue, single org, and single event. Taking single-venue.php for example &#8211; i like to create a tab system where I include 1. Venue description (content) 2. Map (google embeded map) 3. List organizers related to that venue. (In my case artists) Tabs working fine with plain [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-tags-in-tabs\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-04-18T13:37:40+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\/template-tags-in-tabs\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-tags-in-tabs\/\",\"name\":\"template tags in tabs? -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-03-18T21:18:59+00:00\",\"dateModified\":\"2014-04-18T13:37:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-tags-in-tabs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-tags-in-tabs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-tags-in-tabs\/#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 tags in tabs?\"}]},{\"@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 tags in tabs? -","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-tags-in-tabs\/","og_locale":"en_US","og_type":"article","og_title":"template tags in tabs? -","og_description":"Hi, Im trying to built own templates for single venue, single org, and single event. Taking single-venue.php for example &#8211; i like to create a tab system where I include 1. Venue description (content) 2. Map (google embeded map) 3. List organizers related to that venue. (In my case artists) Tabs working fine with plain [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-tags-in-tabs\/","article_modified_time":"2014-04-18T13:37:40+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\/template-tags-in-tabs\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-tags-in-tabs\/","name":"template tags in tabs? -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-03-18T21:18:59+00:00","dateModified":"2014-04-18T13:37:40+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-tags-in-tabs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-tags-in-tabs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/template-tags-in-tabs\/#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 tags in tabs?"}]},{"@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\/120852","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\/120852\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=120852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}