Support » Fixing WordPress » varying number of post in different page

  • Resolved ismailcherkala

    (@ismailcherkala)


    I am facing a problem with number of post showing per page in home. I setup ‘Blog pages show at most’ value to 8. But home page shows only 7 post. The strange thing is page two shows 4 post and page 3 shows 8 post etc.

    I checked my theme but it using normal loop as shown below

    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>

    Can anyone tell where could be the bug.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I would:

    A) Verify if is a theme related issue by switching to the default theme.
    B) Verify if is a plugin issue by deactivating all plugins and then running site, see if is OK, then activate one at a time to find offending plugin.
    C) Verify if a theme and plugin conflict by switching to default theme and deactivating all plugins.

    Note, if using a cache plugin such as W3 Total Cache or WP Super Cache, always clear cache after any site changes.

    Thanks for your tips.
    I found the solution to issue. It caused by some hard code on the theme which skip some categories from displaying.

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘varying number of post in different page’ is closed to new replies.