showing sub-categories in the menue

Home Forums Calendar Products Community Events showing sub-categories in the menue

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24746
    Rainer
    Member

    hello, i’m using wordpress, buddypress and ec-pro and the community events add-on. i need a menue that shows the subcategories i created. http://cowelenz.de/wordpress/freizeit-tipps-koblenz/kategorie/alter/ so far, from a category “alter” (age) there are supposed to unfold or somehow show some subcategories like children(1-5), children(6-onwards). i’ve tried a lot, but where do i really have to set this?

    #25011
    Jonah
    Participant

    Hi Rainer,

    This would be somewhat difficult to achieve and I won’t be able to fully help you out with a solution but maybe I can point you in the right direction. First, if you look in /wp-content/plugins/the-events-calendar-community-events/views/event-form.php on line 53, this is where the category list is called. And then if you trace back formCategoryDropdown() you’ll find that in /wp-content/plugins/events-community/lib/tribe-community-events.class.php

    Here’s what I think you’ll want to do to get around to customizing the category list. Make a copy of /wp-content/plugins/the-events-calendar-community-events/views/event-form.php and place in an ‘events/community’ folder in your active theme so you can safely make changes to it. Then, what I would do is swap out the formCategoryDropdown() function call with the code used for the whole function that you can find in /wp-content/plugins/events-community/lib/tribe-community-events.class.php – and then you can modify the code however you want to account for sub-categories.

    I hope that helps and good luck!

    – Jonah

    #977756
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘showing sub-categories in the menue’ is closed to new replies.