WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Using wp category for EM events (3 posts)

  1. Balders
    Member
    Posted 1 year ago #

    Hi there,

    is it possible to use normal wp categorys next to event categorys? I want to display em events next to wp posts.

    I have this code which registers wp tags. Is this the right track I'm on?

    add_action('init', 'my_em_taxonomies');
    function my_em_taxonomies() {
        register_taxonomy_for_object_type('post_tag', EM_POST_TYPE_EVENT);
    }

    Any thoughts?

    Cheers

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 1 year ago #

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    yes, the above would work, copy the register_taxonomy... line so you have two and change 'post_tag' to 'category'

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic