WordPress.org

Ready to get started?Download WordPress

Forums

PHP Code Widget
Valid xhtml Strict (1 post)

  1. JayMyers
    Member
    Posted 3 years ago #

    When I enter <?php thesis_widget_recent_posts('', 'Recent Articles', '10'); ?> I am unable to validate on w3.org. I get this error

    Line 337, Column 80: document type does not allow element "li" here; missing one of "ul", "ol" start-tag

    </div><div class="widget"> <div class="textwidget"> <li class="widget">

    What can I do about this? I also run <p>Copyright&copy; 2003&ndash;<?php echo date('Y'); ?></p> in another instance of the widget and it runs fine and validates. So I am not sure where to go from there.

    http://wordpress.org/extend/plugins/php-code-widget/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic