WordPress.org

Ready to get started?Download WordPress

Forums

Only uncategorized category shows (3 posts)

  1. Riles
    Member
    Posted 3 years ago #

    Hey,

    I'm stumped. Only the uncategorized category posts will show on my blog page. I have no idea why though. It is using my index.php file which has the correct code as far as I can tell:
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    You can see the development site at http://shanerielly.com/Cornerstone/

    Any help would be greatly appreciated!

    Shane

  2. esmi
    Forum Moderator
    Posted 3 years 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 Ten 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. Riles
    Member
    Posted 3 years ago #

    Thanks esmi,

    It wasn't any of the plugins. I didn't try switching to the TwentyTen theme yet, but I added <?php $my_query = new WP_Query('category_name=blog&posts_per_page=10'); ?> above the line calling the loop and that worked. I still don't know the cause of the issue, but I have it working fine now so I'm ok with that...

Topic Closed

This topic has been closed to new replies.

About this Topic