Support » Plugins » hide category

  • Resolved mobixone

    (@mobixone)


    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
    http://www.mobixone.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try adding to the end of your style.css file:

    .cat-item-945 {display:none;}

    MichaelH

    (@michaelh)

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

    <?php
    $cat_to_exclude = 7;
    query_posts($query_string . '&cat=-'.$cat_to_exclude');
    ?>

    Related:
    Templates
    Stepping Into Templates
    Template Hierarchy

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

    mobixone

    (@mobixone)

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘hide category’ is closed to new replies.