Max Magazine
Romove category conflict with pagination (2 posts)

  1. anslasax
    Posted 1 year ago #

    Hello there,

    I wanted to remove a category from the loop of the homepage using this code:

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

    where 171 is obviously the number of the category i want to remove.

    This code works, i mean, in the homepage that category is not displayed as it should be. The problem is that if i want to press "next page" or others commands regardind the page navigation, just doesn't work.
    Also the archives and all the funcion referring the categorization of the article doesn't work now.

    There is someone could help me in this?

    my site http://www.mktrsclub.com/

  2. Marco Andrei Kichalowsky
    Posted 1 year ago #


    I'm using the Ultimate Category Excluder to do this job in my blogs: http://www.planetmike.com/plugins/ultimate-category-excluder/

    Maybe it can works for you.


Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic