{"id":1094879,"date":"2016-03-28T10:52:31","date_gmt":"2016-03-28T17:52:31","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/displaying-taxonomy-in-widget-week\/"},"modified":"2016-04-13T09:35:03","modified_gmt":"2016-04-13T16:35:03","slug":"displaying-taxonomy-in-widget-week","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/displaying-taxonomy-in-widget-week\/","title":{"rendered":"Displaying Taxonomy in Widget Week"},"content":{"rendered":"<p>Hi!<\/p>\n<p>I have a some custom taxonomy that I&#8217;m able to display on single event pages. I&#8217;m stumped, though, on how to get those into the Widget. I&#8217;ve created the taxonomy through ACF PRO &#8211; but this question isn&#8217;t about the code to get ACF data to display. I&#8217;m missing something to get the same data into the widget. I first tested displaying data by trying to get the post ID into both &#8211; was successful in the single events, but not the widget (well, full disclosure: the ID only ever returned &#8220;1&#8221;).<\/p>\n<ul>\n<li>Events Calendar PRO 4.1,  WP 4.4.2<\/li>\n<li>to get the widget to display in my template file I use <code>&lt;?php echo do_shortcode( &#039;[tribe_this_week]&#039; ); ?&gt;<\/code><\/li>\n<li>I&#8217;m able to echo out static content in my \/my-theme\/tribe-events\/pro\/widgets\/this-week\/single-event.php, but NOT the custom taxonomy<\/li>\n<li>I&#8217;m able to echo out custom taxonomy in my \/my-theme\/tribe-events\/pro\/single-event.php<\/li>\n<\/ul>\n<p>I hope this make sense&#8230; I&#8217;ve read it so much that I can&#8217;t even tell anymore! \ud83d\ude09<\/p>\n","protected":false},"template":"","class_list":["post-1094879","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>Displaying Taxonomy in Widget Week -<\/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\/displaying-taxonomy-in-widget-week\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Displaying Taxonomy in Widget Week -\" \/>\n<meta property=\"og:description\" content=\"Hi! I have a some custom taxonomy that I&#8217;m able to display on single event pages. I&#8217;m stumped, though, on how to get those into the Widget. I&#8217;ve created the taxonomy through ACF PRO &#8211; but this question isn&#8217;t about the code to get ACF data to display. I&#8217;m missing something to get the same [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/displaying-taxonomy-in-widget-week\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-04-13T16:35:03+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\/displaying-taxonomy-in-widget-week\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/displaying-taxonomy-in-widget-week\/\",\"name\":\"Displaying Taxonomy in Widget Week -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-03-28T17:52:31+00:00\",\"dateModified\":\"2016-04-13T16:35:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/displaying-taxonomy-in-widget-week\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/displaying-taxonomy-in-widget-week\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/displaying-taxonomy-in-widget-week\/#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\":\"Displaying Taxonomy in Widget Week\"}]},{\"@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":"Displaying Taxonomy in Widget Week -","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\/displaying-taxonomy-in-widget-week\/","og_locale":"en_US","og_type":"article","og_title":"Displaying Taxonomy in Widget Week -","og_description":"Hi! I have a some custom taxonomy that I&#8217;m able to display on single event pages. I&#8217;m stumped, though, on how to get those into the Widget. I&#8217;ve created the taxonomy through ACF PRO &#8211; but this question isn&#8217;t about the code to get ACF data to display. I&#8217;m missing something to get the same [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/displaying-taxonomy-in-widget-week\/","article_modified_time":"2016-04-13T16:35:03+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\/displaying-taxonomy-in-widget-week\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/displaying-taxonomy-in-widget-week\/","name":"Displaying Taxonomy in Widget Week -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-03-28T17:52:31+00:00","dateModified":"2016-04-13T16:35:03+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/displaying-taxonomy-in-widget-week\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/displaying-taxonomy-in-widget-week\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/displaying-taxonomy-in-widget-week\/#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":"Displaying Taxonomy in Widget Week"}]},{"@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\/1094879","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\/1094879\/revisions"}],"predecessor-version":[{"id":1095090,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1094879\/revisions\/1095090"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1094879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}