getting the following validation error:
"Element div not allowed as child of element ul in this context. (Suppressing further errors from this subtree.) "
for this bit of code:
<div class=“section_thumbnails group”>
<h3>Recent Posts</h3>
<ul>
<!-- LOOP START –>
<?php $the_query = new WP_Query( ‘showposts=3’ ); ?>
<?php while ($the_query -> have_posts()) : $the_query -> the_post(); ?>
<!-- THIS DISPLAYS THE POST THUMBNAIL, The array allows the image to has a custom size but is always kept proportional –>
<div class=“col span_1_of_3”>
<div class=“post-thumbnail”>
<li> <?php the_post_thumbnail( array(70,70) );?></li>
</div>
<div class=“blog-lists-title”>
<!-- THIS DISPLAYS THE POST TITLE AS A LINK TO THE MAIN POST –>
<li><a href=“<?php the_permalink() ?>”><?php the_title(); ?></a></li>
<!-- THIS DISPLAYS THE EXCERPT OF THE POST -->
<p><?php echo get_excerpt(); ?>
<!-- READ MORE LINK -->
<a href="<?php the_permalink() ?>">More...</a></p>
</div>
</div>
<?php endwhile;?>
<!-- LOOP FINNISH -->
</ul>
</div>
Anyone know a fix for this? I have tried a few things but can’t get it to both display correctly and validate at the same time.