Title: Conditional Placed Holder coding
Last modified: February 7, 2020

---

# Conditional Placed Holder coding

 *  Resolved [Powerful1](https://wordpress.org/support/users/powerful1/)
 * (@powerful1)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/conditional-placed-holder-coding/)
 * I have correctly setup my functions file to allow for custom attributes to be
   displayed.
 * In looking at [https://wordpress.org/support/topic/conditional-place-holder-for-custom-attribute/](http://this ticket)
   where the user created a custom attribute like this #_ATT{key name}{select|option1
   |option2}
 * I am wondering how do I code that placeholder so if the answer is option1 there
   is a result uniquely different from option2, and select shows nothing.
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditional-placed-holder-coding%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [Powerful1](https://wordpress.org/support/users/powerful1/)
 * (@powerful1)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/conditional-placed-holder-coding/#post-12411182)
 * Nevermind, I tied the information I needed to the location using an excerpt

Viewing 1 replies (of 1 total)

The topic ‘Conditional Placed Holder coding’ 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/)

 * 1 reply
 * 1 participant
 * Last reply from: [Powerful1](https://wordpress.org/support/users/powerful1/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/conditional-placed-holder-coding/#post-12411182)
 * Status: resolved