Title: Conditional Placeholder / Attributes
Last modified: August 22, 2016

---

# Conditional Placeholder / Attributes

 *  Resolved [torpedo_booking](https://wordpress.org/support/users/torpedo_booking/)
 * (@torpedo_booking)
 * [12 years ago](https://wordpress.org/support/topic/conditional-placeholder-attributes/)
 * Hey There.
    First off all, a big thanks for coding this fabulous Plugin. I do
   have 2 tiny questions though, and can’t find the answers (yet).
 * 1.
    I have set up the Attribute #_ATT{tickets} in order to add a Ticketlink to
   my Events (I don’t want to use the internal booking system) That 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’t have a deeplink, or
   any ticketsale at all. Is that possible? {has_ticket}content{/has_tickets} didn’t
   do the trick.
 * 2.
    I have a lot of Shows/Events, and a lot of categories (=groups/bands). How
   can I have one single Page (let’s name it “Events”) that shows (displays) ALL
   Events, ordered not by date, but by category? e.g. BAND 1 date 1 date 2 date 
   3
 * BAND 2
    date 1 date 2 …..
 * Any help would be greatly appreciated.
    Thanks a lot!
 * [https://wordpress.org/plugins/events-manager/](https://wordpress.org/plugins/events-manager/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [12 years ago](https://wordpress.org/support/topic/conditional-placeholder-attributes/#post-5207710)
 * 1. conditional placeholder for custom event attribute, try this link [http://snippets.webaware.com.au/snippets/events-manager-conditional-placeholders-for-custom-attributes/](http://snippets.webaware.com.au/snippets/events-manager-conditional-placeholders-for-custom-attributes/)
 * 2. try shortcode [events_list_grouped mode=”monthly” scope=”future”] with search
   attributes
 * [http://wp-events-plugin.com/documentation/event-search-attributes/](http://wp-events-plugin.com/documentation/event-search-attributes/)
 *  Thread Starter [torpedo_booking](https://wordpress.org/support/users/torpedo_booking/)
 * (@torpedo_booking)
 * [12 years ago](https://wordpress.org/support/topic/conditional-placeholder-attributes/#post-5207728)
 * Thank you so much. Conditional placeholder routine works great!
 * I’m having trouble with the shortcode for (2) though.
    Grouped is fine, but I
   can only sort it by month, noth category… I don’t seem to find the actual search
   attribute to display the list of all events grouped by category. Anything I oversee?
 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [12 years ago](https://wordpress.org/support/topic/conditional-placeholder-attributes/#post-5207759)
 * There’s no built-in ability to group by category but you could use the _category_
   attribute to do the grouping manually.
 *  Thread Starter [torpedo_booking](https://wordpress.org/support/users/torpedo_booking/)
 * (@torpedo_booking)
 * [12 years ago](https://wordpress.org/support/topic/conditional-placeholder-attributes/#post-5207760)
 * I see. Thank you.
    Another wish for the feature request list, from my side 😉
   Workaround works fine though, just very timeconsuming, when working with a lot
   of artists/categories 😉
 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [12 years ago](https://wordpress.org/support/topic/conditional-placeholder-attributes/#post-5207827)
 * maybe you can try this snippet – [http://pastebin.com/f6DVrzZS](http://pastebin.com/f6DVrzZS)
 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [12 years ago](https://wordpress.org/support/topic/conditional-placeholder-attributes/#post-5207828)
 * maybe you can try this snippet – [http://pastebin.com/f6DVrzZS](http://pastebin.com/f6DVrzZS)

Viewing 6 replies - 1 through 6 (of 6 total)

 The topic ‘Conditional Placeholder / Attributes’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [attributes](https://wordpress.org/support/topic-tag/attributes/)
 * [categories](https://wordpress.org/support/topic-tag/categories/)
 * [conditional](https://wordpress.org/support/topic-tag/conditional/)

 * 6 replies
 * 3 participants
 * Last reply from: [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/conditional-placeholder-attributes/#post-5207828)
 * Status: resolved