Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 Event List Header banner - Category Colour | Event Espresso - Staging Server
Hi there, I’d like to color code the event header banners on the event listing page with a different color for each category: http://yogasurfingretreats.com/wptest/wordpress/event-registration/ I know this has been addressed for the calendar, so wondering if there’s a similar way to customize the headers on the event listing page? Cheers, Ingrid
Read more: Event List Header Category Colour
This topic was modified 12 years, 6 months ago by Seth Shoultes. Reason: Moving to correct forum
It’s possible. In order to get the needed category classname CSS “hooks”, you’d set up the event list page like this:
[EVENT_ESPRESSO_CATEGORY event_category_id=”first-category”]
[EVENT_ESPRESSO_CATEGORY event_category_id=”second-category”]
[EVENT_ESPRESSO_CATEGORY event_category_id=”third-category”]
Then add something like this CSS to the theme’s stylesheet or other location where you place custom CSS:
If I use [ESPRESSO_EVENTS] for events-registration page. It will auto sort by date but not auto colour for banner.
If we use
[[EVENT_ESPRESSO_CATEGORY event_category_id=”first-category”]
[EVENT_ESPRESSO_CATEGORY event_category_id=”second-category”]
[EVENT_ESPRESSO_CATEGORY event_category_id=”third-category”]
It will create colours for the categories but list the events by category, not by date.
??
Is there any way to colour code the banners AND sort by date?
Viewing 4 reply threads
The support post ‘Event List Header banner – Category Colour’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.