{"id":1194369,"date":"2016-11-18T03:36:32","date_gmt":"2016-11-18T11:36:32","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-use-gustavos-plugin\/"},"modified":"2016-11-18T03:36:32","modified_gmt":"2016-11-18T11:36:32","slug":"trying-to-use-gustavos-plugin","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-use-gustavos-plugin\/","title":{"rendered":"Trying To Use Gustavo&#039;s Plugin"},"content":{"rendered":"<p>I&#8217;m trying to add ticket price to my calendar\/month view like the OP here: https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-organizer-venue-and-price-info-to-tooltips-in-week-and-month-view-2\/<\/p>\n<p>It sounds like Gustavo&#8217;s plugin should do the trick: https:\/\/github.com\/bordoni\/tec-forum-support\/tree\/plugin-945349<\/p>\n<p>I have uploaded and activated it and added the following code to my tooltip.php<\/p>\n<pre><code>[[ if(price) { ]]\n\t\t\t&lt;div class=&quot;entry-price&quot;&gt;Price: [[=raw price]]&lt;\/a&gt;&lt;\/div&gt;\n\t\t\t[[ } ]]\t\t<\/code><\/pre>\n<p>But nothing shows up.<\/p>\n<p>When I remove the &#8216;if&#8217; statement it will show the plain text: &#8216;Price:&#8217; (and HTML div is there in source) but not include the price.<\/p>\n<p>Am I missing something?<\/p>\n<p>If it helps, here is the tooltip.php in it&#8217;s entity. <\/p>\n<pre><code>&lt;script type=&quot;text\/html&quot; id=&quot;tribe_tmpl_tooltip&quot;&gt;\n\t&lt;div id=&quot;tribe-events-tooltip-[[=eventId]]&quot; class=&quot;tribe-events-tooltip&quot;&gt;\n\t\t&lt;h4 class=&quot;entry-title summary&quot;&gt;[[=title]]&lt;\/h4&gt;\n\n\t\t&lt;div class=&quot;tribe-events-event-body&quot;&gt;\n\t\t\t&lt;div class=&quot;tribe-event-duration&quot;&gt;\n\t\t\t\t&lt;abbr class=&quot;tribe-events-abbr tribe-event-date-start&quot;&gt;[[=dateDisplay]] &lt;\/abbr&gt;\n\t\t\t\t&lt;p class=&quot;callnowline&quot;&gt;Call &lt;strong&gt;01204 238046&lt;\/strong&gt; to book or click:&lt;\/p&gt;\n\t\t\t&lt;\/div&gt;\n\t\t\t[[ if(imageTooltipSrc.length) { ]]\n\t\t\t&lt;div class=&quot;tribe-events-event-thumb&quot;&gt;\n\t\t\t\t&lt;img src=&quot;[[=imageTooltipSrc]]&quot; alt=&quot;[[=title]]&quot; \/&gt;\n\t\t\t&lt;\/div&gt;\n\t\t\t[[ } ]]\n\t\t\t[[ if(excerpt.length) { ]]\n\t\t\t\n\t\t\t&lt;p class=&quot;tribe-event-description&quot;&gt;[[=raw excerpt]]&lt;\/p&gt;\n\t\t\t[[ } ]]\n\t\t\t[[ if(categories.length) { ]]\n\t\t\t&lt;p class=&quot;tribe-event-categories&quot;&gt;[[=raw categories]] &lt;a href=&quot;[[=permalink]]&quot; class=&quot;url booknowbutton&quot;&gt;Book Now&lt;\/a&gt;&lt;\/p&gt;\n\t\t\t[[ } ]]\n\t\t\t[[ if(price) { ]]\n\t\t\t&lt;div class=&quot;entry-price&quot;&gt;Price: [[=raw price]]&lt;\/a&gt;&lt;\/div&gt;\n\t\t\t[[ } ]]\t\t\t\n\t\t\t&lt;span class=&quot;tribe-events-arrow&quot;&gt;&lt;\/span&gt;\n\t\t\t&lt;p class=&quot;tribe-event-booknow&quot;&gt;&lt;\/p&gt;\n\t\t\t\n\t\t&lt;\/div&gt;\n\t&lt;\/div&gt;\n&lt;\/script&gt;<\/code><\/pre>\n<p>Thanks in advance for any help. <\/p>\n","protected":false},"template":"","class_list":["post-1194369","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 Use Gustavo&#039;s Plugin -<\/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-use-gustavos-plugin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Trying To Use Gustavo&#039;s Plugin -\" \/>\n<meta property=\"og:description\" content=\"I&#8217;m trying to add ticket price to my calendar\/month view like the OP here: https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-organizer-venue-and-price-info-to-tooltips-in-week-and-month-view-2\/ It sounds like Gustavo&#8217;s plugin should do the trick: https:\/\/github.com\/bordoni\/tec-forum-support\/tree\/plugin-945349 I have uploaded and activated it and added the following code to my tooltip.php [[ if(price) { ]] &lt;div class=&quot;entry-price&quot;&gt;Price: [[=raw price]]&lt;\/a&gt;&lt;\/div&gt; [[ } ]] But nothing shows up. When [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-use-gustavos-plugin\/\" \/>\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=\"2 minutes\" \/>\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-use-gustavos-plugin\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-use-gustavos-plugin\/\",\"name\":\"Trying To Use Gustavo&#039;s Plugin -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-11-18T11:36:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-use-gustavos-plugin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-use-gustavos-plugin\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-use-gustavos-plugin\/#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\":\"Filter Bar\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/filter-bar\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Trying To Use Gustavo&#039;s Plugin\"}]},{\"@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 Use Gustavo&#039;s Plugin -","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-use-gustavos-plugin\/","og_locale":"en_US","og_type":"article","og_title":"Trying To Use Gustavo&#039;s Plugin -","og_description":"I&#8217;m trying to add ticket price to my calendar\/month view like the OP here: https:\/\/theeventscalendar.com\/support\/forums\/topic\/add-organizer-venue-and-price-info-to-tooltips-in-week-and-month-view-2\/ It sounds like Gustavo&#8217;s plugin should do the trick: https:\/\/github.com\/bordoni\/tec-forum-support\/tree\/plugin-945349 I have uploaded and activated it and added the following code to my tooltip.php [[ if(price) { ]] &lt;div class=&quot;entry-price&quot;&gt;Price: [[=raw price]]&lt;\/a&gt;&lt;\/div&gt; [[ } ]] But nothing shows up. When [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-use-gustavos-plugin\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-use-gustavos-plugin\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-use-gustavos-plugin\/","name":"Trying To Use Gustavo&#039;s Plugin -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-11-18T11:36:32+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-use-gustavos-plugin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-use-gustavos-plugin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/trying-to-use-gustavos-plugin\/#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":"Filter Bar","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/filter-bar\/"},{"@type":"ListItem","position":5,"name":"Trying To Use Gustavo&#039;s Plugin"}]},{"@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\/1194369","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\/1194369\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1194369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}