[resolved] Limit number of posts on home page to TEN (2 posts)

  1. Astalavista
    Posted 6 years ago #

    I want change Limit number of Post on Home page to 10!
    but I can not change it in Admin Panel (from /wp-admin/options-reading.php)

    I am using WordPress 2.6.5 with the default theme or any theme, but I can not change it!

    Thank you in advance for your assistance.

  2. acreativellc
    Posted 6 years ago #


    There are four options.

    1) From the Dashboard:
    (a) Settings->
    (b) Reading ->
    (c) Blog Posts - set to 10

    Or you can do this....

    2) From the Dashboard:
    (a) Appearance
    (b) Editor
    (c) home page file (usually index.php)
    (d) Locate this line:
    <?php if (have_posts()) : ?>
    (e) Just before this line add this line:
    <?php query_posts('showposts=10'); ?>

    You can set "10" to be "3" or however many you want.

    NOTE: I suggest you not copy & paste this code, as sometimes the ' characters get funny. Rather, type it in.

    Someone has a video of this solution, you can view it here:

    Or depending on the theme...

    (3) This module may work:

    Or depending on the theme...

    (4) There may be different coding. Ask us for help or just Google what you need, and you will find the answers.


    A Creative LLC
    Word Press tips by http://www.ACreativeLLC.com

Topic Closed

This topic has been closed to new replies.

About this Topic