• Resolved gponte1977

    (@gponte1977)


    Hello,

    I would like to know how to share the events category with other posts, for example, a custom post course, could use the events category.

    Meaning is the taxonomy public?
    How to make it accessible to all Post Types?
    Do you pass the “show_ui” as true?

    Or looking in another direction, how could I use the standard wordpress category instead of the events category?

    Thanks

Viewing 1 replies (of 1 total)
  • Hi @gponte1977
    Thanks for writing in,
    That’s an interesting question. Events category is a custom taxonomy, but I guess you should be able to register the same taxonomy on a different post type.
    I haven’t tried this before but you could give it a shot. You need to do this manually hooking to an early action (init maybe).

    This is a starting point. I will try to find out some more details about the arguments array.

    function expand_taxonomy(){register_taxonomy('event_category', 'your_post_type', $args);
    }

    Let me know how it goes
    Best
    Santiago

Viewing 1 replies (of 1 total)

The topic ‘Share Events Category with all Post types’ is closed to new replies.