• Resolved peterhj

    (@peterhj)


    When I add an Event in Events Manager I need to be able to give it a particuar post_tag.

    I cannot find a way to do this. Post tags are not visible as options on creating or editing an Event. I have several custom taxonomies and these appear just fine. And I can see where to add “Event tags”, but this seems to be different to “post_tags”? I say this because with Event tags there are no options to choose from, whereas in Pages and Posts I have a standard list of post_tags. (This leads me to think that Event tags are no relation to Post tags, but I may be wrong on this point?)

    Can anyone help?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Perhaps try if you display your events as posts? Events -> Settings -> Pages -> different kinds of pages.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    Hi,

    can I know where is this? Is this using the frontend event submission form?

    Thread Starter peterhj

    (@peterhj)

    Hi Angelo
    No this is after an event has been created. So once its there I go to edit it. At that point I need to be able to add post_tags but there option isn’t there.

    Thread Starter peterhj

    (@peterhj)

    @swb1 Thanks for the sy=uggestion but infortunately it made no difference. Ive tried displaying as both pages and posts. Ive also tried it with and without the “Override with Formats?” setting.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    Thread Starter peterhj

    (@peterhj)

    Thanks Angelo. No I can’t see an answer in there. I can add custom taxonomies from the edit screen, its just the normal post_tag set that I can’t access.

    If there is something on this page that explains what I need to do, I can’t see it.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    its just the normal post_tag set that I can’t access.

    Sorry for the confusion, you’ve wanted to add a WP Post tag when creating or editing events?

    Thread Starter peterhj

    (@peterhj)

    That’s right. Any thoughts on why this option isn’t available when I go to edit an event?

    Plugin Support angelo_nwl

    (@angelo_nwl)

    It’s should be working fine both on the add and edit events; is this using the admin dashboard or frontend events management page?

    Thread Starter peterhj

    (@peterhj)

    Thanks Angelo
    I can cofirm that it is both. Whether I am creating a new Event (ie Add Event) or editing one with the standard edit function, I am not given the option to add a tag. Custom taxonomies yes, tags no.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    btw, in the tutorial I shared above, did you already tried this snippet to use post tags and categories when creating events on the admin dashboard?

    
    function my_em_own_taxonomy_register(){
        register_taxonomy_for_object_type('post_tag',EM_POST_TYPE_EVENT);
        register_taxonomy_for_object_type('post_tag',EM_POST_TYPE_LOCATION);
        register_taxonomy_for_object_type('post_tag','event-recurring');
        
        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);
    

    As for where to paste custom snippet – https://wp-events-plugin.com/tutorials/how-to-safely-add-php-code-to-wordpress/

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Adding post_tag to an event in Events Manager’ is closed to new replies.