Creating the Difference

Use WP Categories in Events Manager

Posted on: 14-11-2018
Categories: PHP, Snippets Tags:

By default Events Manager does not support the use of “normal” WordPress categories in your events. But are you missing that feature? Agreed, Events Manager provides a nifty solution with their Event Categories. The problem with those is though, that even though they work great, they can not be (easily) used outside of the EM loop. 🙁

How to use WordPress categories in Events Manager?


Step 1: Copy & paste this snippet.

To add a side meta box to your event edit page, just add this to your functions.php:Click here to learn how to safely add your code to WordPress.

WP MultiSite compatible.

This snippet also works on WordPress MultiSite installations. Please note that, unlike Event Categories, the WP Categories are maintained per blog.