[Plugin: Events Manager] Use has_term in Event List Item Format file
-
Hi,
I’m using php files in the formats folder to customize my event layouts, so I havesingle_event_format.php
andevent_list_item_format.php
inside the formats folder of my theme (themefolder/events-manager/formats).In
singe_event_format.php
I’m able to use the WP functionhas_term('workshops', 'event-categories')
so I can tweak the format of the event based upon the category it’s in.However, I don’t seem to be able to use
has_term()
withinevent_list_item_format.php
to do the same thing for the event list. I’m wondering if there is another way to do this? Or if I’m missing something.Thanks so much for any help you can provide.
Bret
- The topic ‘[Plugin: Events Manager] Use has_term in Event List Item Format file’ is closed to new replies.