Category Widget in Sidebar

Community Forums Forums General Discussion Category Widget in Sidebar

This topic is: not resolved

This topic contains 2 replies, has 3 voices, and was last updated by  Chris Cree 2 years, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #9712


    I have the category widget installed in my secondary sidebar (left) at  I do not want “Featured Posts for Dynamic Content Gallery” showing up in the list.  How do I “hide” this category?


    Bill Murray

    It’s not possible using the pre-installed category widget. Have a look at this WP codex page on the template tag wp_list_categories.

    That’s how you can fully customize the category list. If you’re a coder, you could put that into a shortcode with parameters, and then put the shortcode into a text widget. You could implement the parameters that you find most useful, and that would make it pretty flexible.

    If PHP isn’t your thing, you could see if there’s a plugin with a more powerful category widget. Just try a search on the WP plugin repo.

    Web: or Twitter: @wpperform

    We do managed WordPress hosting.


    Chris Cree

    You can also cheat it with CSS. Add something like this to your style.css file and that category will be hidden wherever you use that widget.

    .widget_categories .cat-item-4 {
    	display: none;

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.