WordPress.org

Ready to get started?Download WordPress

Forums

exclude category from archive (3 posts)

  1. boriserl
    Member
    Posted 10 years ago #

    working almost all night long & found no solution at all:
    i d like to post links to my blogs w/o title (via bookmarklet in the category "Links") but want to exclude them from the sidebar_archiv (postbypost)
    is there any way to solve this?
    tnx
    boris

  2. XratedFozzibaer
    Member
    Posted 9 years ago #

    Doesn't seem, that there is any solution!?
    I can exclude a category from the search and from the menu but not from the archiv! :(

  3. amory
    Member
    Posted 9 years ago #

    I added <?php $cat = '-1'; ?> before the doctype to exclude the category with an id of 1.
    You can also add this right before the loop: <?php { query_posts("cat=-3"); } ?> where again, the number is the id of your excluded category.

Topic Closed

This topic has been closed to new replies.

About this Topic