[resolved] Hiding one Category only on the Index (3 posts)

  1. Pipedreamergrey
    Posted 8 years ago #

    I have one category that is updated so often, it pushes all the other content off my front page (index page). So, I want to hide it, while still allowing users to browse through old posts in that category.

    My first attempt was to create a set of conditions using is_home, but that didn't work at all. My second attempt was to use (!in_category()). That WORKED, but left me unable to see the category's posts anywhere on the site.

    Do I need to rework my entire template with separate archive and category pages to make this work, or is there a bit of php that can straighten things out?

  2. moshu
    Posted 8 years ago #

    No need to reinvent the wheel :) Use this plugin:

  3. Pipedreamergrey
    Posted 8 years ago #

    Thanks, that worked just fine. Actually, it's more than I needed. It's given me a couple ideas to improve my site. Using this plug-in I can add advertising and notices about content found only on my site to the feed and notices about content only found in the feed to the site!

Topic Closed

This topic has been closed to new replies.

About this Topic