• Resolved theoutdoors

    (@theoutdoors)


    I already have a “location” taxonomy that’s heavily tied into other areas, and it conflicts with Event Manager’s location taxonomy. When submitting an event, I see the following error in Chrome:

    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

    If I disable the EM location option things work great.

    Question is, can I change the default “location” taxonomy that EM uses?

    https://www.ads-software.com/extend/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    you might want to turn-on WP_DEBUG to see if there’s any other error and also you can check php file em-posts.php.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    there is a way, but it’s untested, and not really recommended. However, it was done for these extreme cases.

    In your wp-config.php file, you can change the post types by defining them as on em-posts.php so for locations, you’d add e.g.

    define(‘EM_POST_TYPE_LOCATION’,’em-location’);

    note that you can’t change this back and forth, it’s permanent for that blog, unless you go in to your DB and change all the post_type values in wp_posts

    Thread Starter theoutdoors

    (@theoutdoors)

    Thanks for your help. I set the following in wp-config and I’m good to go.

    define('EM_POST_TYPE_LOCATION','event-locations');
    define('EM_POST_TYPE_LOCATION_SLUG','events/locations');

    Just a reminder to anyone else trying this…don’t forget to re-save the Permalink settings after defining these settings.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Events Manager] Possible to change "location" taxonomy?’ is closed to new replies.