{"id":468879,"date":"2014-07-21T02:54:33","date_gmt":"2014-07-21T09:54:33","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/sold-out-in-event-list-not-working-in-my-case\/"},"modified":"2014-09-04T20:28:25","modified_gmt":"2014-09-05T03:28:25","slug":"sold-out-in-event-list-not-working-in-my-case","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sold-out-in-event-list-not-working-in-my-case\/","title":{"rendered":"Sold Out &#8211; in event list &#8211; not working, in my case"},"content":{"rendered":"<p>hi there &#8211;<br \/>\noriginally i was expecting &#8216;sold out&#8217; to appear automatically instead of the ticket price &#8211; which is removed as tickets are sold out as basic action.<br \/>\nhowever, i found that there is a snipped and a plug-in too to achieve that.<br \/>\nthis is what i did:<br \/>\n1) created directory with single-event.php in themes subfolder<br \/>\n2) installed woot library<br \/>\n3) altered the php file as the following:<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n&lt;!&#8211; Event Title &#8211;&gt;<br \/>\n&lt;?php do_action( &#8216;tribe_events_before_the_event_title&#8217; ) ?&gt;<br \/>\n&lt;h2 class=&#8221;tribe-events-list-event-title entry-title summary&#8221;&gt;<br \/>\n        <a>&#8221; title=&#8221;&lt;?php the_title() ?&gt;&#8221; rel=&#8221;bookmark&#8221;&gt;<br \/>\n                &lt;?php the_title() ?&gt;<br \/>\n        <\/a><br \/>\n        &lt;?php if (woot_has_soldout()): ?&gt; &lt;span class=&#8221;woot_sold_out&#8221;&gt; Sold out! &lt;\/span&gt; &lt;?php endif ?&gt;<br \/>\n&lt;\/h2&gt;<br \/>\n&lt;?php do_action( &#8216;tribe_events_after_the_event_title&#8217; ) ?&gt;<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>4) result: the event list is cut off and there is no &#8216;sold out&#8217; in any expected place to see.<br \/>\nhowever, i tried differect places for the snippet &#8211; the result is the same.<br \/>\nas precaution i have disabled most if the plug-ins running &#8211; which are only few &#8211; nothing changes<br \/>\nany ideas?<\/p>\n<p>check \/kurstermine\/ for the event list page<br \/>\nthanks in advance<br \/>\nmy best regards<br \/>\nP.-<\/p>\n","protected":false},"template":"","class_list":["post-468879","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>Sold Out - in event list - not working, in my case -<\/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\/sold-out-in-event-list-not-working-in-my-case\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sold Out - in event list - not working, in my case -\" \/>\n<meta property=\"og:description\" content=\"hi there &#8211; originally i was expecting &#8216;sold out&#8217; to appear automatically instead of the ticket price &#8211; which is removed as tickets are sold out as basic action. however, i found that there is a snipped and a plug-in too to achieve that. this is what i did: 1) created directory with single-event.php in [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sold-out-in-event-list-not-working-in-my-case\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-09-05T03:28:25+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\/sold-out-in-event-list-not-working-in-my-case\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sold-out-in-event-list-not-working-in-my-case\/\",\"name\":\"Sold Out - in event list - not working, in my case -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-07-21T09:54:33+00:00\",\"dateModified\":\"2014-09-05T03:28:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sold-out-in-event-list-not-working-in-my-case\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sold-out-in-event-list-not-working-in-my-case\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sold-out-in-event-list-not-working-in-my-case\/#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\":\"Ticket Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Event Tickets Plus\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Sold Out &#8211; in event list &#8211; not working, in my case\"}]},{\"@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":"Sold Out - in event list - not working, in my case -","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\/sold-out-in-event-list-not-working-in-my-case\/","og_locale":"en_US","og_type":"article","og_title":"Sold Out - in event list - not working, in my case -","og_description":"hi there &#8211; originally i was expecting &#8216;sold out&#8217; to appear automatically instead of the ticket price &#8211; which is removed as tickets are sold out as basic action. however, i found that there is a snipped and a plug-in too to achieve that. this is what i did: 1) created directory with single-event.php in [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sold-out-in-event-list-not-working-in-my-case\/","article_modified_time":"2014-09-05T03:28:25+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\/sold-out-in-event-list-not-working-in-my-case\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sold-out-in-event-list-not-working-in-my-case\/","name":"Sold Out - in event list - not working, in my case -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-07-21T09:54:33+00:00","dateModified":"2014-09-05T03:28:25+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sold-out-in-event-list-not-working-in-my-case\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/sold-out-in-event-list-not-working-in-my-case\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/sold-out-in-event-list-not-working-in-my-case\/#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":"Ticket Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/"},{"@type":"ListItem","position":4,"name":"Event Tickets Plus","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/"},{"@type":"ListItem","position":5,"name":"Sold Out &#8211; in event list &#8211; not working, in my case"}]},{"@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\/468879","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\/468879\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=468879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}