Custom Menu Sorting Through Category, Tags or Custom Field

Home Forums Calendar Products Events Calendar PRO Custom Menu Sorting Through Category, Tags or Custom Field

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1165562
    divaker
    Participant

    HI,

    We are using custom menu for different cities on our site. For post type we are using is_category function to set the custom menu for a particulate category. In case of events custom post, which filter should we use to filter the event’s city, we are using city name in tags, categories right now. We can also use custom field to sort the cities, please suggest. Our theme developer suggested to use is_theme function.

    #1166216
    Josh
    Participant

    Hey divaker,

    Thanks for reaching out to us!

    To clarify here, on your posts, you’re using the built in categories to assign each post to a city. From there, you check the associated city in the template to determine the menu that you’re displaying?

    If so, you could try adding the default Category taxonomy to the events post type and use the same check. You could do that with the “register_taxonomy_for_object_type” function.

    Let me know if this helps.

    Thanks!

    #1175023
    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 ‘Custom Menu Sorting Through Category, Tags or Custom Field’ is closed to new replies.