• Hi all,

    I would like to exclude a category called Blog (ID 174) from my main loop I have used the following code but it seems to mess up the pagination:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I guess the query_posts code isnt correct, can anyone suggest how I can achieve the category exclusion?

    Thanks
    Kyle

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Exclude a category from main loop’ is closed to new replies.