2.1 upgrade random repeats of posts on main page
-
I upgraded both of my blogs, and this one is showing weird repetitions of posts. It appears to be random. Each time I delete my newest post and put it back, it shows up twice, yet not all of the posts are doubled. They are identical in every way, and there is only one copy of each post in the database.
https://www.theweirdnewsdaily.com/
Here’s my loop code:
<!-- Loopstart! -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<hr />
<p class="fecha"><?php the_time('F jS, Y') ?>
<h4><a>" rel="bookmark"><?php the_title(); ?></a></h4>
<?php the_content('Continue reading ?'); ?>
<div class="meta">[ <a>"><strong>Reader Remarks:</strong> <?php comments_number('none','1','%'); ?></a> ] Filed under <?php _e($msg_post_filed); ?> <?php the_category(', ') ?> at <?php _e($msg_post_at); ?> <?php the_time('G:i'); ?>. <?php edit_post_link(__($msg_post_edit)); ?><?php edit_post_link('Edit',' [ ',' ] '); ?>
<div id="wp-notable"><?php if (function_exists('wp_notable')) wp_notable(); ?></div><?php wp_link_pages(); ?><a href="#top"><?php _e($msg_layout_top); ?></a>
</div>
</div>
<?php comments_template(); ?>
<?php endwhile; ?>
<?php next_posts_link('? Previous entries') ?>?<?php previous_posts_link('Next entries ?') ?>
<?php else : ?> <div class="post">
<p class="error"><?php _e($msg_search_error); ?>
</div>
<?php endif; ?>
</div>
- The topic ‘2.1 upgrade random repeats of posts on main page’ is closed to new replies.