• I would like to use the WP normal categories to add onto events. But those categories don’t show.
    I read the event posts are custom post types and this can be done.
    However, not sure how to do that for Events Manger posts (please note: I’m not a programmer).
    If you can tell me what code to add and where, I would be so grateful!
    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Because this isn’t possible out-of-the-box, you’d need to do little coding to get it to work.

    This should help:
    https://wp-events-plugin.com/tutorials/using-additional-custom-taxonomies/

    Thread Starter helpme3

    (@helpme3)

    I added the code however it’s not fully working. I can now add the WordPress category to the event post however it still won’t show up.
    The published event post does not show up in any part of the site (have different widgets plus pages that display posts by category)
    Any help would be most appreciated
    Here is the code I added:
    function my_em_own_taxonomy_register(){
    register_taxonomy_for_object_type(‘category’,EM_POST_TYPE_EVENT);
    register_taxonomy_for_object_type(‘category’,EM_POST_TYPE_LOCATION);
    register_taxonomy_for_object_type(‘category’,’event-recurring’);
    }
    add_action(‘init’,’my_em_own_taxonomy_register’,100);

    Which version of Events Manager and WordPress are you using?

    Thread Starter helpme3

    (@helpme3)

    I’m using the latest WP and the latest EM. I checked on any updates to either and there are none.

    I’m trying to get the event posts to show up by WP categories.
    Is there another code I need to add? The page also talked about registering custom taxonomies – if so I Don’t know how to do it ??

    Plugin Support angelo_nwl

    (@angelo_nwl)

    just to confirm, can I know where do you want to display it? eg. events listing page

    Hello,
    I have the same problem, I would like to add the latest events on my HP and in my menus by putting them all in a category.
    Thanks for your help,

    @fifigirondins Can you start a new thread for your question? It doesn’t sound like your issue is connected to the original question. Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘add WP Categories to a Custom Post Type (event posts)’ is closed to new replies.