Forums
Home / Plugin: Event Organiser / Get category color into wp_nav_menu()
(@quasidigi)
10 years, 11 months ago
Hello,
I would like to have the event category color as background color of my custom menu. I know that I can put some code in the array before and after the link for styling it. But I couldn’t find the way to get the event category color into it.
Thank you
http://wordpress.org/extend/plugins/event-organiser/
(@stephenharris)
Just published this so others can benefit: http://wp-event-organiser.com/blog/tutorial/using-event-colours-in-your-theme/
I’ll follow it up with another post tomorrow on how to do add the appropriate classes to the menu items…
http://wp-event-organiser.com/blog/tutorial/adding-event-colour-to-your-menu/
Hi Stephen,
Thank you very much for you great plugin and fast reply
I will check it right now.
All the best
It’s working smooth thanks to both tutorials.
Thank you again