- This topic has 3 replies, 2 voices, and was last updated 10 years, 10 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
How can i hide a category from showing in the category list in the sidebar.
So for example; i have category a, b,c,d,e,f,g.
When i place the category widget in the sidebar each category will be visible in the category list.
However, i don't want category d to be visible in the list.
Hope you respond,
I pasted this code:
<?php wp_list_categories('orderby=name&show_count=1&exclude=10'); ?>
At the end of the CSS file but it does not help.
Do you have another way?
It was not CSS code, it would probably be best to remove it from your stylesheet.
You may find it easier to use a plugin, like this one -
© 2023 WPEngine, Inc.