The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] hide category (4 posts)

  1. mobixone
    Posted 6 years ago #

    hi experts
    i have a humor blog & there is a category adult jokes, so i want hide this category on homepage & archeive pages etc. I have tried ACE advance category excluder & also hide category plugin but this adult category is still visible?
    anyone like to help me! in hide this category i dont want delete it just hide it.
    check it here

  2. Try adding to the end of your style.css file:

    .cat-item-945 {display:none;}
  3. MichaelH
    Posted 6 years ago #

    Put this in your templates, such as index.php, archive.php, or category.php, before The Loop

    $cat_to_exclude = 7;
    query_posts($query_string . '&cat=-'.$cat_to_exclude');

    Stepping Into Templates
    Template Hierarchy

    If ACE isn't working wonder if you have other plugins conflicting?

  4. mobixone
    Posted 6 years ago #

    Oh Thanks Dear Friends
    ACE is working now it was also ACE Categories widget i haven't activated before.
    So The Problem Is Resolved.

Topic Closed

This topic has been closed to new replies.

About this Topic