Forums

[resolved] Limit Posts to Get Post/ exclude cat loop (3 posts)

  1. Graeme-Mac
    Member
    Posted 4 years ago #

    I am using the Codex loop to display a list of posts but excluding a defined category (found here)

    How can I limit the number of posts displayed?

    Thanks in advance

  2. MichaelH
    Volunteer
    Posted 4 years ago #

    The template tag, get_posts(), offers the numberposts= parameter.

  3. Graeme-Mac
    Member
    Posted 4 years ago #

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic