WordPress.org

Ready to get started?Download WordPress

Forums

posts per page -1 not working (1 post)

  1. warpdesign
    Member
    Posted 7 years ago #

    Hi,
    I'm trying to NOT limit the number of posts per page (I want to show all posts). I set up the query like so, setting posts_per_page to -1

    <?php query_posts('author=1&posts_per_page=-1'); ?>

    But it still paginates it to 14 posts per page.

    very important: I'm not trying to change the preference for the whole site, I know you can do that in the preferences. I'm only trying to change one perticular page

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags