Forums

Post count is 10 but shows 18 in homepage (9 posts)

  1. AtaArticles
    Member
    Posted 1 year ago #

    Hello,

    AtaArticles

    Any idea why the post count on homepage shows over 18 and keeps increasing by itself yet under settings/reading in wp dashboard it is set at 10?

    [Code moderated as per the Forum Rules. Please use the pastebin]

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    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).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

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

  3. AtaArticles
    Member
    Posted 1 year ago #

    Hi,

    Thanks for your response. Will try it out.

  4. AtaArticles
    Member
    Posted 1 year ago #

    Hello,

    I just deactivated the plugins but it didn't seem to work except that it is now post count 15 instead of 18.

    Previewed the 2011 theme but it still shows as 15 articles on homepage.

    The category, archive pages is correct post count except homepage.
    http://pastebin.com/NDzjFhF1

    Deleted over 70 inactive plugins from wp dashboard, then checked homepage. Still shows as 15 post count.

    Any other tips, Thanks.

  5. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have you tried repairing your database?

  6. money-maker
    Member
    Posted 1 year ago #

    Could the post count be hardcoded into your index page template?

  7. AtaArticles
    Member
    Posted 1 year ago #

    Hi,

    Just repaired database via phpmyadmin and no difference.

    Regarding post count being hardcoded, you will see from the index.php code
    that no post count is mentioned.
    http://pastebin.com/NDzjFhF1

    Unless it is in another section under WP Editor

  8. davidw99
    Member
    Posted 1 year ago #

    This is happening to me too. I have 3.2.1 and have set the number of posts on the front page to 3 and it just shows them all.

    I have no plug-in, just a fresh install of WP.

  9. AtaArticles
    Member
    Posted 1 year ago #

    Ah, maybe it's an issue with the wp updated version

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.