{"id":962471,"date":"2015-05-13T15:27:16","date_gmt":"2015-05-13T22:27:16","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/do-you-maybe-know-the-reason-for-this-conflict\/"},"modified":"2015-05-14T09:50:30","modified_gmt":"2015-05-14T16:50:30","slug":"do-you-maybe-know-the-reason-for-this-conflict","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/do-you-maybe-know-the-reason-for-this-conflict\/","title":{"rendered":"Do you maybe know the reason for this conflict?"},"content":{"rendered":"<p>Hello hello, I have another support request.<\/p>\n<p>In the calendar &#8220;list &amp; photo view&#8221; templates I have added an extra line that checks if the event has a featured images and if so, it returns the caption set for that image. It works.<\/p>\n<pre><code>&lt;?php if( has_post_thumbnail() ) { ?&gt;\n&lt;br&gt;\n&lt;div class=&quot;bildunterschrift&quot;&gt;&lt;?php echo get_post(get_post_thumbnail_id())-&gt;post_excerpt; ?&gt;&lt;\/div&gt;\n&lt;?php } ?&gt;<\/code><\/pre>\n<p>Now I am trying to insert that same line into the &#8220;month view&#8221;, into the tooltip.php and mobile.php<\/p>\n<p>I put this into tooltip.php and it is not working, it simply does not return the caption and I can&#8217;t figure out why not.<\/p>\n<p>\t\t\t`[[ if(imageTooltipSrc.length) { ]]<br \/>\n\t\t\t&lt;div class=&#8221;tribe-events-event-thumb&#8221;&gt;<br \/>\n\t\t\t\t&lt;img src=&#8221;[[=imageTooltipSrc]]&#8221; alt=&#8221;[[=title]]&#8221; \/&gt;<br \/>\n\t\t\t\t&lt;?php if( has_post_thumbnail() ) { ?&gt;<br \/>\n\t\t\t\t&lt;br&gt;<br \/>\n\t\t\t\t&lt;div class=&#8221;bildunterschrift&#8221;&gt;&lt;?php echo get_post(get_post_thumbnail_id())-&gt;post_excerpt; ?&gt;&lt;\/div&gt;<br \/>\n\t\t\t\t&lt;?php } ?&gt;<br \/>\n\t\t\t&lt;\/div&gt;`<\/p>\n<p>Do you maybe have any idea why it works in list and photo view and every where else but not in the month view?<\/p>\n<p>Kind regards,<br \/>\nNicola<\/p>\n","protected":false},"template":"","class_list":["post-962471","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>Do you maybe know the reason for this conflict? -<\/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\/do-you-maybe-know-the-reason-for-this-conflict\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Do you maybe know the reason for this conflict? -\" \/>\n<meta property=\"og:description\" content=\"Hello hello, I have another support request. In the calendar &#8220;list &amp; photo view&#8221; templates I have added an extra line that checks if the event has a featured images and if so, it returns the caption set for that image. It works. &lt;?php if( has_post_thumbnail() ) { ?&gt; &lt;br&gt; &lt;div class=&quot;bildunterschrift&quot;&gt;&lt;?php echo get_post(get_post_thumbnail_id())-&gt;post_excerpt; ?&gt;&lt;\/div&gt; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/do-you-maybe-know-the-reason-for-this-conflict\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-05-14T16:50:30+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\/do-you-maybe-know-the-reason-for-this-conflict\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/do-you-maybe-know-the-reason-for-this-conflict\/\",\"name\":\"Do you maybe know the reason for this conflict? -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-05-13T22:27:16+00:00\",\"dateModified\":\"2015-05-14T16:50:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/do-you-maybe-know-the-reason-for-this-conflict\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/do-you-maybe-know-the-reason-for-this-conflict\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/do-you-maybe-know-the-reason-for-this-conflict\/#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\":\"Do you maybe know the reason for this conflict?\"}]},{\"@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":"Do you maybe know the reason for this conflict? -","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\/do-you-maybe-know-the-reason-for-this-conflict\/","og_locale":"en_US","og_type":"article","og_title":"Do you maybe know the reason for this conflict? -","og_description":"Hello hello, I have another support request. In the calendar &#8220;list &amp; photo view&#8221; templates I have added an extra line that checks if the event has a featured images and if so, it returns the caption set for that image. It works. &lt;?php if( has_post_thumbnail() ) { ?&gt; &lt;br&gt; &lt;div class=&quot;bildunterschrift&quot;&gt;&lt;?php echo get_post(get_post_thumbnail_id())-&gt;post_excerpt; ?&gt;&lt;\/div&gt; [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/do-you-maybe-know-the-reason-for-this-conflict\/","article_modified_time":"2015-05-14T16:50:30+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\/do-you-maybe-know-the-reason-for-this-conflict\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/do-you-maybe-know-the-reason-for-this-conflict\/","name":"Do you maybe know the reason for this conflict? -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-05-13T22:27:16+00:00","dateModified":"2015-05-14T16:50:30+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/do-you-maybe-know-the-reason-for-this-conflict\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/do-you-maybe-know-the-reason-for-this-conflict\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/do-you-maybe-know-the-reason-for-this-conflict\/#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":"Do you maybe know the reason for this conflict?"}]},{"@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\/962471","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":3,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/962471\/revisions"}],"predecessor-version":[{"id":962589,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/962471\/revisions\/962589"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=962471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}