WordPress.org

Ready to get started?Download WordPress

Forums

CAn't change number of posts per page (2 posts)

  1. katandmouse
    Member
    Posted 2 years ago #

    I want 3 posts to show on the blog landing page. I found the setting for that in the admin and changed it to 3. It won't stick. I get no error ; it looks like it's saving but it doesn't. I went to phpMyAdmin and changed it there. It stuck, but no change on the front end. How do I get 3 post excerpts to show on the blog landing page?

  2. zimmi88
    Member
    Posted 2 years ago #

    Hmm... are you using a custom theme? I believe some themes may override this directly in the theme's code. (Specifically, query creation and manipulation methods allow the number of posts to be returned to be passed in as a parameter.)

    To test this, try switching over to a default theme (Twenty Ten or Twenty Eleven) and seeing if your posts per page setting is honored. If it is, then it's likely the theme that's causing this change (Plugins, though not as likely, could also be modifying the page queries).

    If this is the case, I'd recommend running a search on the source files included in your theme's directory... look for "posts_per_page" and see if there are any results.

    I hope this helps!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.