[resolved] Main page now shows only 1 post (should be 5) (2 posts)

  1. vkaryl
    Posted 9 years ago #

    Upgraded to 2.0.9 from 2.0.7. I'm using this code just inside the loop to "hide" one category:

    <?php if (in_category('7')) continue; ?>

    In 2.0.7, with that code in place, and with 5 posts selected in the admin/options/reading section, 5 posts showed on the index page. In 2.0.9, with that code in place, and having run upgrade.php and updated the 5 posts selection in admin/options/reading, there's only one post showing on the index page.

    I did recheck The_Loop to be sure nothing had changed with that usage. It seems to be correct.... I also checked the database to be sure the options row updated for that selection, which it did.

    Any help appreciated!

  2. vkaryl
    Posted 9 years ago #

    Hmmm.... just added some test posts, and they show up like normal, 5 per page. So apparently this is a one time change when the upgrade happens?

    Geesh. Well, whatever, as long as it works "normally" otherwise and forward....

    I'll just set this resolved. Sorry!

Topic Closed

This topic has been closed to new replies.

About this Topic