Colors
The colors addon is used to differentiate event type and event category tabs with colors.
Installing the plugin
The installation process is the same for all the addons, offered by WP Event Manager. They can be both installed automatically and manually.
- Automatic Installation: You can install the plugin from the backend of your WordPress. Click Here to see how you can install the plugin automatically.
- Manual Installation: You can install the plugin from the backend of your WordPress. Click Here to see how you can install the plugin manually.
Complete Video Guide On Colors Add On
How to set colors for the event Type?
In order to differentiate one event category from others and let it get highlighted to the users and visitors, one can set colors to the various event categories that have already been created before. Click here to see how to create a new event category.
In order to set colors, follow the below-mentioned steps.
- Go to Admin >> Event Manager >> Settings >> colors.
- Here you can see the list of all the event categories, created before.
- Set different colors for each type:
- Text Color: This color would be set as the “text color” of this event type.
- Background Color: This color would be set as the “background color” of this event type.
- Set the different colors for each type:
- save changes.
The color would appear as follows at the front end on the single event page.
How to set colors for the event Category?
In order to differentiate one event type from others and let it get highlighted to the users and visitors, one can assign a color to the various event categories that have already been created before. Click here to see how to create new event category.
In order to set colors, follow the below-mentioned steps:
- Go to Admin >> Event Manager >> Settings >> Colors.
- Here you can see the list of all the event category created before.
- Save changes.
The color would appear as follows at the front end on the single event page.
- Set the different colors for each category:
- Text Color: This color would be set as the “text color” of this event category.
- Background Color: This color would be set as the “background color” of this event category.
- Save changes.
The color would appear as follows on the front end on the single event page.
Set colors on calendar
In order to set colors for the event calendar one needs to install the Calendar addon first.
After the desired colors are set for different event types and categories, a user can always choose to display the events on the calendar based on the event Category or Type.
- Go to Admin >> Event Manager >> Settings >> Colors.
- The last column states “Apply colors to Calendar”.
- Select from the below-mentioned options:
- Event type colours: This will display events on the calendar based on the event type.
- Event category colors: This will display events on the calendar based on the event category.
- Event type colours: This will display events on the calendar based on the event type.
- Save changes.
Advanced: Overriding/Customizing the templates
For overriding or customization, template files can be found in the wp-event-manager-sell-tickets/templates/ directory.
To override a template file, follow the below-mentioned steps:
- Create directory “wp-event-manager-colors” under your theme folder.
- Copy the template file to “/wp-content/yourtheme/wp-event-manager-colors/” directory.
- Your theme will now use all the template files from the “/wp-content/yourtheme/wp-event-manager-colors/” directory instead of the plugin’s template file (/wp-content/plugins/wp-event-manager-colors/).
Remember: If you have an overridden template file and plugin frequently updating then you need to sync template file with new updates from the plugin’s template file for better functionality and new features.