Multiple Custom Event Attributes – conditional display
-
Hi,
I found this thread, where @agelonwl very usefully explains how to add conditional display of Custom Event Attributes. (It’s agelonwl last piece of code in the thread I’m using.)
I’ve pasted that code into my theme functions.php file. It works!!
However, that’s for just one Event Attribute – #_ATT{venue_url}.
I thought that I could just simply copy the code multiple times, once for each Event Attribute (with relevant modifications each time). But that doesn’t work.
I’d be very grateful if someone could explain how to modify the code for use with more than one Event Attribute.
#_ATT{Email}
#_ATT{Facebook URL}For example.
Many thanks.
- The topic ‘Multiple Custom Event Attributes – conditional display’ is closed to new replies.