Wierd [pre][/pre] insertion with wp_list_pages
-
I am baffled. I have one posted in which I use the pagination tag. Here is the link:
What I can’t understand is why WP brackets my “Posted by footer…” with <pre></pre>. It doesn’t do it with posts which have no page breaks in them.
Here is the code on my index.php page loop.
<div class="entry">
<?php the_content(); ?>
<p class="postmetadata">Posted by <?php the_author('namefl',TRUE) ?>.
Filed under: <?php the_category(', ') ?>
<?php edit_post_link('Edit','<strong>(',')</strong>'); ?>
<?php if(function_exists('wp_print')) { echo '?'; print_link(); echo '?'; } ?>
</div>
<div class="pagelink"><?php wp_link_pages('before=Pages: &nextpagelink=Next&previouspagelink=Previous&pagelink=Page %'); ?></div><div class="comments">
<p style="font-weight:bold;text-align:right;"><?php comments_popup_link('Leave a passing comment »', '1 Comment »', '% Comments »'); ?>
<?php comments_template(); ?>
</div>
- The topic ‘Wierd [pre][/pre] insertion with wp_list_pages’ is closed to new replies.