How to increase event type category count
Last Updated: December 30, 2024
EventON comes with upto 5 event type categories enabled and can be expanded very easily to a desired number of additional event categories.
However before you do that please read this to see if you actually need more categories.
Do i need more categories?If you are actually needing more than 5 categories below code can help you do that.
add_filter('evo_event_type_count','this_ajdecount',10,1); function this_ajdecount($count){ return 7; }
Placing the above code in functions.php file in your theme will allow you to increase the number of event type filters (Categories) to a desired number. (Above example will change it from 5 to 7)
Did this article help you?
- Code snippets
- CODE: To add additional healthcare guidelines
- How to add new social share icons
- How to change "events" slug & rewrites
- How to customize the eventtop date format
- How to hook into eventTop
- How to increase event type category count
- How to load EventON scripts to a page
- How to show additional custom data in the eventCard