validation error cleanup
-
I’m using the following code in the left-hand sidebar to create the departments category list on this site.
`<?php query_posts(‘category_name=departments’); ?>
<?php while (have_posts()) : the_post(); ?>
<li><a href=”<?php the_permalink(); ?>”>
<?php the_title(); ?>
</a></li>
<?php endwhile; ?>`When I run the validator, I get 2 associated errors about this
ERROR 1
Unclosed elements inside a list.…<div class="execphpwidget"> <li><a href="https://greenrefurbishing.com/w…
ERROR 2
End tag div seen but there were unclosed elements.
</div>
how do i fix the php code in the widget to clear up these errors?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘validation error cleanup’ is closed to new replies.