Support » Developing with WordPress » Widget Categories – Display only children of current Category

  • Resolved sami13

    (@sami13)


    Hey there,
    I’ve included the wordpress categories widget in my sidebar. As I have multiple pages listing posts of certain categories, I want the widget to display only the current category and its subcategories.
    For example I’ve got:

    Categories
    * News
    -regional
    -international
    * Projects
    – Group A
    – Group B

    So when on page ‘News’ I only want to have displayed:

    Categories
    *News
    – regional
    – international

    Is there any way to accomplish this without messing with the class-wp-widget-categories file? ‘Cause that’s located in ‘wp-includes’….

    I would be really grateful for some help, I just can’t figure it out..
    Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.