Support » Themes and Templates » List category question

  • Hey guys! Is there a way to use the list_cats or wp_list_cats template tag to display the feed/feed-image only for one particular category instead of all of them? Or maybe use a custom construct in the template to traverse the category list and enable the feed option for one or more categories.

Viewing 4 replies - 1 through 4 (of 4 total)
  • My only idea is to use list_cats twice (or more): One list w/ feeds on, one without – and excluding the specific categories from the inappropriate list.

    But I not an expert. There’ll be more helpful answers, I’m sure.

    Thanks for your reply. In the case you have suggested the categories won’t be sorted.

    I have 4-5 top-level categories and each category has 5-6 sub-categories. The sub-cat’s are listed (with an indent) under the respective category. But I want to display the feeds link only for main categories and exclude the feeds link for the sub-categories. Hope it makes things clear.

    Ah OK – sorry no idea for that.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘List category question’ is closed to new replies.