• Hey. I just upgraded to 2.7 since WordPress has been popping up a message telling me to upgrade for a while now. The thing is, once I upgraded it not only did it somehow erase my new theme that I had spent hours working on but now my index page shows no posts. Just “Sorry, no posts matched your criteria.” Each individual post page shows content, but I would like for my index page to show the posts too.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter skittle61

    (@skittle61)

    Anybody? This is kind of a big deal. My site’s been down for days now.

    https://www.yousoundlikearobot.com

    Thread Starter skittle61

    (@skittle61)

    Seriously? No one can even try to help? Why does this section of the site exist again?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    This is a volunteer forum, and it’s been the holidays, man.

    What’s the content of your theme’s index.php? Wrap it in backticks so we can see the code, please.

    Went to your site to see what was up and found this:

    …and no thanks to the horrible support at WordPress…

    Gotta tell ya, doesn’t give me a warm and fuzzy. If you’ll do what Ipstenu asked above. We’ll try to help.

    I have the same problem. I did a fresh install of 2.7 (twice). With the default theme, I get Error 404 on posts page. With the classic theme, I get “Sorry, no posts matched your criteria.”

    Thread Starter skittle61

    (@skittle61)

    Sorry, but I went a week with not a single reply. It was a bit irritating. The theme I’m using at the moment’s index.php says…

    <?php get_header();?><div id="main">	<div id="content">	    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    	        <div class="post" id="post-<?php the_ID(); ?>">            <p class="date">              <span class="month">                <?php the_time('M') ?>              </span>              <span class="day">                <?php the_time('d') ?>              </span>              <span class="year">                <?php the_time('Y') ?>              </span>              </p>            <h2 class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>            <div class="meta">				      <p>Published by <?php the_author_posts_link() ?>  under <?php the_category(',') ?> <?php edit_post_link(); ?></p>			      </div>			      <div class="entry">              <?php the_content(__('Continue Reading »')); ?>              <?php wp_link_pages(); ?>      			</div>            <p class="comments">              <?php comments_popup_link(__('No responses yet'), __('One response so far'), __('% responses so far')); ?>            </p>	          	        </div>      <?php endwhile; else: ?>
              <p><?php _e('Sorry, due to technical difficulties YSLAR is acting a bit screwy. Please try to find what you are looking for using the menus and search box to your right!'); ?></p>
          <?php endif; ?>
          <p align="center"><?php posts_nav_link(' - ','« Prev','Next »') ?></p>	</div>  <?php get_sidebar();?>  <?php get_footer();?>

    When I change it to a different theme it does the same thing, so I’m not sure that it has to do with the theme’s index.php.

    Sorry, due to technical difficulties YSLAR is acting a bit screwy. Please try to find what you are looking for using the menus and search box to your right!

    How did that info get into your index.php file? Are you sure you are using the default index.php file from the WP install?

    You may want to try a manual upgrade and re-upload all the default WP source code…see the videos at the link below for some ideas about the process.

    https://educhalk.org/blog/?p=17

    Thread Starter skittle61

    (@skittle61)

    Because I edited just that portion so there would be a message on the front page. I just replaced the default “Sorry, no posts matched your criteria.”

    Thread Starter skittle61

    (@skittle61)

    I appreciate the educhalk.org link, those videos are very helpful. However, I just got about a couple minutes into the second one and my wordpress folder, including my entire uploads folder, seems to have just up and vanished. I have no idea why. I didn’t delete it, it’s just gone. A year and a half of uploads.

    *rubs temples*

    Looks like it’s there to me.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Index page shows no posts’ is closed to new replies.