• Resolved RobinInTexas

    (@robinintexas)


    I have a blog that will not allow me to limit the number of posts that shows on the home page.

    I have tried three different themes:
    Techozoic Fluid 1.8.3
    LightWord 1.9.8
    and
    WordPress Default 1.6

    I have even tried to edit the index.php of Techozoic

    <div style="clear:both;width:100%;margin:-20px;"></div>
        <?php query_posts('showposts=4'); ?>
        <?php 	if (have_posts()) {
    		while (have_posts()) {

    The result is the same regardless. All 5 posts are displayed.

    I have the reading settings in the admin section set to 3.

    Tried “cbnet Different posts per page” plugin and it detects that the settings are set to 3.

    Can anybody suggest a fix?

Viewing 8 replies - 1 through 8 (of 8 total)
  • esmi

    (@esmi)

    Have you tried:

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    MichaelH

    (@michaelh)

    Just as a note, with query_posts you should use ‘posts_per_page’, not ‘showposts’.

    Thread Starter RobinInTexas

    (@robinintexas)

    Renamed the plugin folder. Broke lots of stuff. still showing 5 posts.

    4 Michael, I copied that code from another site, I could try yours, but I suspect there’s something else going on. The Settings->Reading in the Base WP (and it’s really “Base” now) doesn’t seem to be working.

    esmi

    (@esmi)

    Can you activate the default theme and then post your site url here?

    Thread Starter RobinInTexas

    (@robinintexas)

    https://www.mykangaroohat.com/

    I’d give you a password but not in public

    MichaelH

    (@michaelh)

    If you have sticky posts that will cause a problem also.

    Thread Starter RobinInTexas

    (@robinintexas)

    whoops

    That did it.

    I can restore everything in a couple of minutes

    Thread Starter RobinInTexas

    (@robinintexas)

    Thanks Michael & Esmi

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cannot limit posts on front page’ is closed to new replies.