Comments on: Every event its own color! https://wp-events-plugin.com/blog/2010/10/06/every-event-its-own-color/ Event Registration, Bookings, Calendars, Locations Mon, 10 Dec 2018 19:57:45 +0000 hourly 1 https://wordpress.org/?v=4.9.8 By: marcus https://wp-events-plugin.com/blog/2010/10/06/every-event-its-own-color/#comment-234 Tue, 26 Apr 2011 13:35:17 +0000 http://wp-events-plugin.dev/?p=52#comment-234 This is probably out of date now for 4.x (this was actually written by Davide back in version 2.x)

I’m in the middle of writing tutorials, so will revisit this asap, but you probably want to change this:

‘input[name=mtm_1_name]’

to this:

‘#em_attribute_1’

although not sure that’ll work if you have more than one attribute.

]]>
By: Vito https://wp-events-plugin.com/blog/2010/10/06/every-event-its-own-color/#comment-232 Tue, 26 Apr 2011 03:16:11 +0000 http://wp-events-plugin.dev/?p=52#comment-232 Sorry, my previous post was very unclear. I am having trouble implementing what is described above. I have inserted the code correctly within the Default event list format and the new field appears when I create a new event. However, whatever color I insert in the new color field does not get applied. Is there anything that should be done differently when trying to implement with 4.0rc1? Any help would be appreciated.

]]>
By: Vito https://wp-events-plugin.com/blog/2010/10/06/every-event-its-own-color/#comment-231 Tue, 26 Apr 2011 03:11:36 +0000 http://wp-events-plugin.dev/?p=52#comment-231 I am trying to implement with 4.0rc1. Is there anything I might be missing? Thanks.

]]>
By: marcus https://wp-events-plugin.com/blog/2010/10/06/every-event-its-own-color/#comment-88 Wed, 02 Mar 2011 22:50:41 +0000 http://wp-events-plugin.dev/?p=52#comment-88 yes, you could. best way would be to use #_CATEGORYID in your class and assign colours that way.

]]>
By: Ian.... https://wp-events-plugin.com/blog/2010/10/06/every-event-its-own-color/#comment-86 Mon, 28 Feb 2011 14:38:38 +0000 http://wp-events-plugin.dev/?p=52#comment-86 and if i would like to asign a colour to each category, is that possible?

]]>