{"id":5207497,"date":"2014-08-19T21:27:43","date_gmt":"2014-08-19T21:27:43","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/conditional-placeholder-attributes\/"},"modified":"2016-08-22T00:39:01","modified_gmt":"2016-08-22T00:39:01","slug":"conditional-placeholder-attributes","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/conditional-placeholder-attributes\/","title":{"rendered":"Conditional Placeholder \/ Attributes"},"content":{"rendered":"<p>Hey There.<br \/>\nFirst off all, a big thanks for coding this fabulous Plugin.<br \/>\nI do have  2 tiny questions though, and can&#8217;t find the answers (yet).<\/p>\n<p>1.<br \/>\nI have set up the Attribute #_ATT{tickets} in order to add a Ticketlink to my Events<br \/>\n(I don&#8217;t want to use the internal booking system)<br \/>\nThat works great, and I can include it to the List view and everything. BUT: I would love to have this a conditional placeholder, as for some Events I don&#8217;t have a deeplink, or any ticketsale at all. Is that possible? {has_ticket}content{\/has_tickets} didn&#8217;t do the trick.<\/p>\n<p>2.<br \/>\nI have a lot of Shows\/Events, and a lot of categories (=groups\/bands).<br \/>\nHow can I have one single Page (let&#8217;s name it &#8220;Events&#8221;) that shows (displays) ALL Events, ordered not by date, but by category?<br \/>\ne.g.<br \/>\nBAND 1<br \/>\ndate 1<br \/>\ndate 2<br \/>\ndate 3<\/p>\n<p>BAND 2<br \/>\ndate 1<br \/>\ndate 2<br \/>\n&#8230;..<\/p>\n<p>Any help would be greatly appreciated.<br \/>\nThanks a lot!<\/p>\n<p>https:\/\/wordpress.org\/plugins\/events-manager\/<\/p>\n","protected":false},"template":"","class_list":["post-5207497","topic","type-topic","status-closed","hentry","topic-tag-attributes","topic-tag-categories","topic-tag-conditional"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5207497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5207497\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5207497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}