WordPress.org

Ready to get started?Download WordPress

Forums

Limiting amount of posts on main page (6 posts)

  1. ensellitis
    Member
    Posted 7 years ago #

    I am working on a new theme, and on the index, I want to limit the number of posts shown to only 5. But on the rest of the pages (archives, etc.) I want the number of posts shown to be what is set in the options...

    is this possible? I have been tweaking with it for awhile now with no luck...

  2. rudolf45
    Member
    Posted 7 years ago #

  3. ensellitis
    Member
    Posted 7 years ago #

    ah man, i dont know why i couldnt find the query_posts article... now i feel dumb. thanks alot

  4. rudolf45
    Member
    Posted 7 years ago #

    Oh, and there is also a plugin for that :)

  5. ensellitis
    Member
    Posted 7 years ago #

    this is for a theme im working on, and i want it to be usable without the use of plugs, otherwise, i would be all over that :P

  6. M30
    Member
    Posted 7 years ago #

    I just wanted to thank the author and respondents of this thread; it really helped me a lot!

    So, yeah. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags