Title: Test for custom attribute
Last modified: August 20, 2016

---

# Test for custom attribute

 *  Resolved [CIF Web Tech](https://wordpress.org/support/users/cif-web-tech/)
 * (@cif-web-tech)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/test-for-custom-attribute/)
 * Can you test for the presence of a custom attribute like how you can test for
   a location? I have a custom attribute for my events which is #_ATT{box-office-
   url} and I want to show a button if it’s present. Ideally I’d like to be able
   to show an alternative if it’s missing.
 * [http://wordpress.org/extend/plugins/events-manager/](http://wordpress.org/extend/plugins/events-manager/)

Viewing 1 replies (of 1 total)

 *  [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * (@angelonwl)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/test-for-custom-attribute/#post-3490598)
 * maybe this docs can help you out – [http://wp-events-plugin.com/documentation/event-attributes/](http://wp-events-plugin.com/documentation/event-attributes/)

Viewing 1 replies (of 1 total)

The topic ‘Test for custom attribute’ 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

 * [custom attribute](https://wordpress.org/support/topic-tag/custom-attribute/)

 * 1 reply
 * 2 participants
 * Last reply from: [agelonwl](https://wordpress.org/support/users/angelonwl/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/test-for-custom-attribute/#post-3490598)
 * Status: resolved