Support » Plugins » Hide Category ( list_cats_exclusions )

  • I hope someone could help me because i’m going mad with this problem…

    I want to create a “hidden category” with also “child category”; this category (and also its child) must not be visibile everywhere in my wordpress site.

    I simply want to add some posts to this category and to be able to show all the post who belongs to it in some specific pages.

    How can i do this?
    I tried by making myself a Plugin in this way… but it doesn’t work… any hint?

    function filter_category($exclusions) {
    	$exclusions = " AND category_parent != 5 ";
    	return $exclusions;
    add_filter('list_cats_exclusions', 'filter_category');

    THX in advance for any help!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide Category ( list_cats_exclusions )’ is closed to new replies.