Forums
Home / Plugin: Events Manager - Calendar, Bookings, Tickets, and more! / Placeholders
(@shavkat)
8 years, 4 months ago
Hi,
Where need to place Placeholders? For it proper working. Example: Placeholder #_CATEGORYCOLOR
(@caimin_nwl)
Placeholders can be used within the formatting tabs under Events > Settings > Formatting or within shortcodes.
https://wp-events-plugin.com/documentation/shortcodes/
https://wp-events-plugin.com/documentation/placeholders/
What is it you want to do?
I need to add Placeholder #_CATEGORYCOLOR for category. But i do not understand where it need to place correct.
Thanks
I whant put different color for my events depending on category.
On which page?
on events page with shortcode [events_list] or on default events page.
Do you have the category colors set up under Events > Event Categories?
Yes i have setup color under events categories
In that case, something like this should work:
[events_list] <div style="background: #_CATEGORYCOLOR"> #_EVENTNAME </div> [/events_list]
But it depends on exactly what you’re trying to do…