Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    Is this in the single category page or in the category listing page?

    Thread Starter JRW-910

    (@jrw-910)

    I suppose both don’t work as I think they should. On the main categories page, all categories are listed together. Sub-categories are mixed in with the main categories with no distinction… they should probably be tabbed in under their parent category.

    Then you click on a parent category, it simply lists the events in that category with no mention of all the sub-categories. Those listing should either be included or the sub-categories should be listed near the top.

    While this plug-in is very well done and seems to work well, there is no use of the ability to create sub-categories which seems strange to me.

    Thanks,

    -JRW

    Hiya,

    To achieve this you will need to provide a customised version of the categories-list.php template file within your theme. See http://wp-events-plugin.com/documentation/using-template-files/ for how to go about that.

    Then, within your new template you’ll want to use the wp_list_categories() function to print out your hierarchical category list.

    Thanks,
    Phil

    Thread Starter JRW-910

    (@jrw-910)

    I figured I’d have to do the modifications myself… I just wanted to make sure. It seems like an odd exclusion in such a fine plugin.

    Thanks for your help.

    -JRW

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    this is in our ‘bugs’ list actually, but if I remember correctly this got pushed back because there were problems with combining wp_list_categories() with our placeholders system and required a lot more work than just a quick fix.

    To use wp_list_categories for a default list of names like you want, it’s quite easy though:

    echo wp_list_categories(array('taxonomy'=>EM_TAXONOMY_CATEGORY));

    however, as mentioned, this won’t take placeholders into account.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Sub Categories’ is closed to new replies.