Forums

MistyLook Theme doesn't validate (3 posts)

  1. v2006
    Member
    Posted 5 years ago #

    How do I locate the validation error seen here:

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.everypersonisastory.com%2F

    I cannot see the error in the sidebar


    <div id="sidebar">

      <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
      <?php if(is_home()) { mistylook_ShowAbout(); } ?>

      <li class="sidebox">
      <h2><?php _e('Archives'); ?></h2>

      <?php wp_get_archives('type=monthly&show_post_count=true'); ?>

    <li class="sidebox">
    <h2><?php _e('Categories'); ?></h2>

      <?php wp_list_cats('optioncount=1');    ?>

    <li class="sidebox">
    <h2><?php _e('Pages'); ?></h2>

      <?php wp_list_pages('title_li=' ); ?>

    <?php if(is_home()) { mistylook_ShowLinks(); ?>
    <li class="sidebox">
    <h2><?php _e('Meta'); ?></h2>

      <?php wp_register(); ?>

    • <?php wp_loginout(); ?>
    • Valid XHTML

    • <?php wp_meta(); ?>

    <?php }?>
      <?php endif; ?>

    </div><!-- end id:sidebar -->

    Thanks

  2. drmike
    Member
    Posted 5 years ago #

    Always look at your Source code when you use the validator as it will show you where the issue is.

    My guess is the open and closing of the ul tags without anything in there. Add some links and try again.

  3. sadish
    Member
    Posted 5 years ago #

    Again, I would like to re-iterate, MistyLook validates out of the box.

Topic Closed

This topic has been closed to new replies.

About this Topic