Filter Bar getting tags from post tags ?

Home Forums Calendar Products Filter Bar Filter Bar getting tags from post tags ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1220892
    Marc
    Participant

    Hi,

    I just installed my filter bar and noticed that events are using post_tags for tags. Is it possible to add custom taxonomy (tags) only for events or include tags associated with events only (not all from the posts) ??

    Thanks
    Kuldeep

    #1221099
    Nico
    Member

    Howdy Kuldeep,

    Welcome to our support forums and thanks for reaching out to us! I can help you here 🙂

    While this is possible it will require some custom coding from your side, which I can assist you with but not write it! What you want to achieve here is:

    – Create a new taxonomy: http://www.wpbeginner.com/wp-tutorials/create-custom-taxonomies-wordpress/

    – Prevent Events from using post_tags when the ‘Events’ post_type is registered and attach the new taxonomy to Events: To do this you can use the tribe_events_register_event_type_args filter to hijack the taxonomies array.

    – Create a new filter in Filter Bar for the custom taxonomy: https://theeventscalendar.com/support/forums/topic/generic-function-for-adding-custom-taxonomy-to-the-filter-bar/

    Please let me know if you think you can glue the pieces together,
    Best,
    Nico

    #1232858
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Filter Bar getting tags from post tags ?’ is closed to new replies.