WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] varying number of post in different page (3 posts)

  1. ismailcherkala
    Member
    Posted 2 years ago #

    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.

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    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.

  3. ismailcherkala
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.