You’re missing a few closing tags; those might be it: [Invalid]Markup Validation of karenedwardsceramics.co.uk wp sculptures 8ribpod – W3C Markup Validator. Scroll down in the validation report to see line numbers and source code.
Thread Starter
jhkb
(@jhkb)
Thanks for your reply! This may be a naiive question, but doesn’t wordpress generate the HTML in that report? I’ve checked my template (which is the old kubrick default) and everything seems in place:
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/
get_header();
?>
<div id="content" class="narrowcolumn" role="main">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a>: <?php the_title(); ?></h2>
<div class="entry">
<a href="<?php echo wp_get_attachment_url($post->ID); ?>"><?php echo wp_get_attachment_image( $post->ID, 'medium' ); ?></a>
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
<div id="next" class="navigation">
<div class="alignleft"><?php previous_image_link( false, 'Back' ); ?></div>
<div class="alignright"><?php next_image_link( false, 'Next' ); ?></div>
</div>
<div id="excerpt" class="alignleft"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); // this is the "caption" ?></div>
</div>
</div>
<?php endwhile; else: ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Thread Starter
jhkb
(@jhkb)
Oops, all fixed, turns out it was the absolute positioning on the navigation div – so simple and yet so cross-eyed. Finally I can sleep.
Thanks for the help songdogtech!
That’s good. Sometimes it is code errors shown by the valdition report, sometimes not.