Event Organiser
[resolved] Existing categories and tags (5 posts)

  1. slowbutsteady
    Posted 2 years ago #

    Great plug-in, thanks for all your development efforts! Is it possible to use my existing post categories and tags instead of setting up new event categories and tags?



  2. Stephen Harris
    Plugin Author

    Posted 2 years ago #

    You can - but when viewing posts/events in a category/tag term the events be treated as posts (sorted by post date, will not show event dates/venue etc, unless you alter you theme to do otherwise).

    You can the default post categories/tags taxonomy with the following (in your own plug-in or functions.php)

    register_taxonomy_for_object_type('post_tag', 'event');
    register_taxonomy_for_object_type('category', 'event');
  3. javllar
    Posted 2 years ago #


    I would like to have the same functionality.
    I have tried the code above but nothing happend.

    What i need is to see list of my default kategories in EVENT edit page instead of event categories.
    So I can choose.


  4. Stephen Harris
    Plugin Author

    Posted 2 years ago #

    Hi javllar,

    You need to wrap it inside a callback hook onto the init action.


    function javllar_add_cats_to_event(){
        register_taxonomy_for_object_type('post_tag', 'event');
        register_taxonomy_for_object_type('category', 'event');

    Note that this just adds the (default) category metabox to the event admin page. The calendar etc still uses event categories. There isn't a way round this without creating further problems. As mentioned above viewing a (default) category will treat your events like posts. Again, there isn't an easy way of resolving this.

  5. javllar
    Posted 2 years ago #

    Ok it works fine.
    Thanks a lot.

    I just need to find a way , how to tell wordpress to show events in categories.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Event Organiser
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.