{"id":1580614,"date":"2018-07-21T02:46:34","date_gmt":"2018-07-21T09:46:34","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-integrate-category-images-with-events-calendar\/"},"modified":"2018-07-23T08:46:17","modified_gmt":"2018-07-23T15:46:17","slug":"trying-to-integrate-category-images-with-events-calendar","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-integrate-category-images-with-events-calendar\/","title":{"rendered":"trying to integrate Category Images with Events Calendar"},"content":{"rendered":"<p>\u200bHi There, I&#8217;m really hoping you can help me in any small way.<\/p>\n<p>Ii&#8217;ve been trying for 3 hours now to integrate category images, or taxonomy images  into the events plugin.  I&#8217;m not even sure it&#8217;s going to be possible,  but I did see it mentioned here elsewhere  <\/p>\n<p>I&#8217;m using a theme called Envit by Them Champion  and they&#8217;re using a customised version of your plugin in the theme.   <\/p>\n<p>The most luck I&#8217;ve had in not breaking anything is using http:\/\/zahlan.net\/blog\/2012\/06\/categories-images\/    &#8211;   I&#8217;ve tried putting the correct code in as follows:<\/p>\n<pre><code>$output .= &#039;\t&lt;div class=&quot;empty-space-mb-40&quot;&gt;&lt;\/div&gt;\r\n\t\t\t&lt;img src=&quot;&#039;.z_taxonomy_image_url(NULL, &#039;thumbnail&#039;).&#039;&quot; alt=&quot;category&quot; class=&quot;new-cat-image&quot;\/&gt;\r\n\t\t\t&lt;h3 class=&quot;tt-featured-title&quot;&gt;\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t&lt;a href=&quot;&#039;.get_the_permalink().&#039;&quot; class=&quot;titleLink&quot;&gt;&#039;.get_the_title().&#039;&lt;\/a&gt;&lt;\/h3&gt;\r\n      &lt;img src=&quot;&#039;.z_taxonomy_image_url(NULL, &#039;thumbnail&#039;).&#039;&quot; alt=&quot;category&quot; class=&quot;new-cat-image&quot;\/&gt;\r\n     &lt;h3 class=&quot;tt-featured-title&quot;&gt;                                \r\n      &lt;a href=&quot;&#039;.get_the_permalink().&#039;&quot; class=&quot;titleLink&quot;&gt;&#039;.get_the_title().&#039;&lt;\/a&gt;&lt;\/h3&gt; <\/code><\/pre>\n<p>\u200b<\/p>\n<p>in this<br \/>\n  <img decoding=\"async\" src=\"'.z_taxonomy_image_url(NULL, 'thumbnail').'\" alt=\"category\" \/><\/p>\n<p>or even<br \/>\n  <img decoding=\"async\" src=\"'.z_taxonomy_image_url().'\" alt=\"category\" \/><\/p>\n<p>This should be returning an image url &#8211; but it&#8217;s returning nothing except my alt text.<\/p>\n<p>Is there any easier way that you can think of for me to add a custom category image to my events??<\/p>\n<p>Thanks so much for any insight you can give me<\/p>\n<p>Lana<\/p>\n<p>\u200b<\/p>\n","protected":false},"template":"","class_list":["post-1580614","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>trying to integrate Category Images with Events Calendar -<\/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\/trying-to-integrate-category-images-with-events-calendar\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"trying to integrate Category Images with Events Calendar -\" \/>\n<meta property=\"og:description\" content=\"\u200bHi There, I&#8217;m really hoping you can help me in any small way. Ii&#8217;ve been trying for 3 hours now to integrate category images, or taxonomy images into the events plugin. I&#8217;m not even sure it&#8217;s going to be possible, but I did see it mentioned here elsewhere I&#8217;m using a theme called Envit by [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-integrate-category-images-with-events-calendar\/\" \/>\n<meta property=\"article:modified_time\" content=\"2018-07-23T15:46:17+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\/trying-to-integrate-category-images-with-events-calendar\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-integrate-category-images-with-events-calendar\/\",\"name\":\"trying to integrate Category Images with Events Calendar -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2018-07-21T09:46:34+00:00\",\"dateModified\":\"2018-07-23T15:46:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-integrate-category-images-with-events-calendar\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-integrate-category-images-with-events-calendar\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-integrate-category-images-with-events-calendar\/#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\":\"trying to integrate Category Images with Events Calendar\"}]},{\"@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":"trying to integrate Category Images with Events Calendar -","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\/trying-to-integrate-category-images-with-events-calendar\/","og_locale":"en_US","og_type":"article","og_title":"trying to integrate Category Images with Events Calendar -","og_description":"\u200bHi There, I&#8217;m really hoping you can help me in any small way. Ii&#8217;ve been trying for 3 hours now to integrate category images, or taxonomy images into the events plugin. I&#8217;m not even sure it&#8217;s going to be possible, but I did see it mentioned here elsewhere I&#8217;m using a theme called Envit by [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-integrate-category-images-with-events-calendar\/","article_modified_time":"2018-07-23T15:46:17+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\/trying-to-integrate-category-images-with-events-calendar\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-integrate-category-images-with-events-calendar\/","name":"trying to integrate Category Images with Events Calendar -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2018-07-21T09:46:34+00:00","dateModified":"2018-07-23T15:46:17+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-integrate-category-images-with-events-calendar\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-integrate-category-images-with-events-calendar\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-integrate-category-images-with-events-calendar\/#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":"trying to integrate Category Images with Events Calendar"}]},{"@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\/1580614","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\/1580614\/revisions"}],"predecessor-version":[{"id":1581459,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1580614\/revisions\/1581459"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1580614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}