Support » Fixing WordPress » exclude category from archive

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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! 🙁

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘exclude category from archive’ is closed to new replies.