Follow Me:

4 responses to “Excluding Page IDs from a Custom Query”

  1. Excluding Page IDs from a Custom Query | Coder Online

    [...] See the article here: Excluding Page IDs from a Custom Query [...]

  2. Dave Naves

    really appreciate you posting this article… helped me out in a big way. (saved tons-o-time)

    and if it's helpful, you can continue excluding other pages with these types of templates:
    and ID != "373" and ID != "374" and ID != "375" and ID != "376" etc., etc.

    not completely elegant, but it works.

    sharing your post twitter… paying it forward!

    =)
    thanks again and cheers,
    //dave
    My recent post Welcome to Daveworks Web Development Website Design and Development Specialists for Small Businesses

    1. Jim Stitzel

      Hey, Dave, I'm glad you found it helpful! I'm sure it's not the most elegant solution in the world, but it does the job in a pinch. Thanks for the retweet!

      My recent post 242 – Blend

  3. mark

    great post, thank you AA++