WordPress.org

Ready to get started?Download WordPress

Forums

Exclude category (3 posts)

  1. Nially
    Member
    Posted 2 years ago #

    Hi guys I think there's quite a simple solution to my problem I'm just having trouble of implementing it. On the homepage of my site I have the 5 most recent posts displaying. I would like to exclude one category does anyone know how to do this.
    Here is a sample of my code:

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

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

  3. Nially
    Member
    Posted 2 years ago #

    Resolved cheers mate!

Topic Closed

This topic has been closed to new replies.

About this Topic