I am having an interesting issue since upgrading from 1.5. I have pages with loop on them which all worked fine prior to the change. Now they are showing the information as I called it and a second time, following the original one, only the second time it is displaying the full content of each post on the page.
One of my affected pages:
This same layout is working for my news archive page.
They all do this. Here’s the code being used to call the loop within the page. We’re using the Exec PHP plugin to use php code on the pages.
< ?php query_posts('category_name=little-children&showposts=25'); ?>
< ?php while (have_posts()) : the_post(); ?>
< ? /*php if ( in_category('27')) : */?>
< ?php the_date('F jS, Y',' <br><table align="center" width=480 cellpadding=0 cellspacing=1 valign="top"><tr><td class="index-headline">','</td></tr>') ?>
<tr><td class="index-newsblock"><a>" rel="bookmark" title="Permanent Link to < ?php the_title(); ?>"><strong>< ?php the_title(); ?></strong></a> < ?php the_excerpt_reloaded(); ?> </td></tr>< ? /*php endif; */ endwhile; ?>
We’ve spent two hours on this so far and haven’t yet found what is the problem. It is displaying the right category and right number of posts the correct way before doing the duplicate showing of the posts. We figured it’s our code, but haven’t found anyway to change the code that continues to work and doesn’t show things twice.
Any help appreciated. I’ve exhausted Google searching WordPress for answers and must have read The Loop page 3 times in addition to others. Any help, even just to point me to where this has been solved before would be of help.
Btw, I should add, we’re not using the rich text editor, I’m more of a see the code kind of a person. I’ve never prefered WYSIWYG editors.
- The topic ‘Loop Within Page Doubled Since Upgrade’ is closed to new replies.