Support » Fixing WordPress » Help with validation errors?

  • Trying to finish off my site, and have a bunch of errors when I validate it through Anyone willing to help me correct them? I’ve done a bunch on my own, but don’t understand what the remaining ones even mean. Can you help step me through this as simple as possible? Any help GREATLY appreciated.
    {Validate by Direct Input – Source Below}
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
    <html xmlns=”” lang=”en” xml:lang=”en”>

    <script language=”javascript” type=”text/javascript”>
    <!– Begin
    loadImage7 = new Image();
    loadImage7.src = “”;
    staticImage7 = new Image();
    staticImage7.src = “”;

    // End –>

    <img name=”spacer” alt=”Top Spacer” src=””>

    <img name=”image7″ alt=”UNIQLOVE tag” src=””

    <?php get_header(); ?>

    <div id=”content-wrap”>
    <div id=”content”>

    <div class=”postarea”>

    <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
    <?php global $more; $more = 0; ?>

    <?php if ( in_category(‘gallery’) && !is_single() ) continue; ?>

    <div <?php post_class(); ?>>

    <div class=”posttitle”>

    <div class=”postdate”>
    <div class=”day”><?php the_time(‘d’) ?></div>
    <div class=”month”><?php the_time(‘M’) ?></div>

    <h5><?php the_category(‘ , ‘); ?></h5>
    <h2>” rel=”bookmark”><?php the_title(); ?></h2>


    <?php the_content(‘Read More’); ?>

    <div class=”postmeta”>
    <div class=”postmeta_left”>

    <p>#respond”><?php _e(“Comment”); ?><img name=”comment” alt=”Comment” src=””/>

    “><?php comments_number(‘Leave a Comment’, ‘1 Comment’, ‘% Comments’); ?></p>
    <div class=”postmeta_right”>

    &=<?php the_title(); ?>” target=”blank”>Share on Facebook
    <img name=”tweet” alt=”Tweet Article” src=””/>

    – <?php
    $turl = getTinyUrl(get_permalink($post->ID));
    echo $turl;
    ?>” rel=”nofollow” class=”social-bookmark”>Tweet Article

    <img name=”tweet” alt=”Tweet Article” src=””/>




    <?php endwhile; else: ?>
    <p><?php _e(“Sorry, no posts matched your criteria.”); ?></p>
    <?php endif; ?>

    <div id=”pagenav”>
    <div class=”prev”><p><?php previous_posts_link(); ?></p></div>
    <div class=”next”><p><?php next_posts_link(); ?></p></div>


    </div> <!– #content –>

    <?php get_sidebar(); ?>


    <div id=”delimiter”></div>

    <?php get_footer(); ?>


Viewing 1 replies (of 1 total)
  • I am not sure what you posted above, but if I go to and look at the source code, I see two instances of the DOCTYPE header. The first part may be from sitebuilder and the second from WordPress.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

    That leads to all sorts of other errors.

Viewing 1 replies (of 1 total)
  • The topic ‘Help with validation errors?’ is closed to new replies.