-
Notifications
You must be signed in to change notification settings - Fork 19
Adding Legend to Additional Views
Andy Fragen edited this page Jun 5, 2015
·
5 revisions
By default, The Events Calendar Category Colors only adds the legend to the month
view.
Adding the legend to additional views can be done by inserting a single line of code into your theme's functions.php file (or some other suitable place) - something like this:
teccc_add_legend_view( 'list' );
If you wish to add the legend to more than one additional view simply duplicate the command referencing another view - something like this:
teccc_add_legend_view( 'list' );
teccc_add_legend_view( 'photo' );
The additional views available are list, day, photo, week
.
Please note, some of these views are only available with The Events Calendar PRO.
Be sure to refer to Customizing Category Colors Plugin for the proper implementation of settings.