Hide specific category after using wp_list_categories
-
I am using
<?php wp_list_categories('orderby=name&title_li'); ?>
I need to hide a category from this list called ‘portfolio’, how can I go about this?
I am also using
<?php wp_get_archives('title_li=&type=postbypost&limit=5'); ?>
For my recent posts and I need to hide all posts within the ‘portfolio’ category.Basically cut off this category completely from everywhere, unless you visit the archive page directly.
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Hide specific category after using wp_list_categories’ is closed to new replies.