Formatting issue with wp_link_pages
-
I’m helping my wife get her blog up and running.
We recently switched themes from DynamicColor to TwentyTen. I copied and pasted the code which shows the child pages from the old template and everything seems to be working well, but I seem to have a formatting problem.
Refer to the page: http://joyfullydivine.com/products-and-services/mind-tools/ for example
There are 4 child pages and depending on the browser there is a “.” (dot) that appears on or above the bullet points of the subpages. With IE8 the dot is outside the bullets, with Chrome it’s part of the first bullet and with Firefox it’s also part of the first bullet but in reverse to Chrome.
I believe the code in question from page.php is as follows:
<div class=”entry-content”>
<?php the_content(); ?>
<?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘twentyten’ ), ‘after’ => ‘</div>’ ) ); ?>
<div class=”postmetadata”>
<?php $args = array(‘child_of’ => get_the_ID(),’title_li’ => __(‘ ‘)); ?>
<?php wp_list_pages($args);?>
<?php wp_link_pages(array(‘before’ => ‘<p>Pages: ‘, ‘after’ => ‘ ‘, ‘next_or_number’ => ‘number’)); ?>
</div>
<?php edit_post_link( __( ‘Edit’, ‘twentyten’ ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
</div><!– .entry-content –>This has got me puzzled and I have no idea where to look next. Any pointers would be helpful.
Kind regards,
Balraj Dhaliwal
Melbourne, Australia
The topic ‘Formatting issue with wp_link_pages’ is closed to new replies.