Forums

[resolved] Some Errors in W3 Validator, and their solutions (1 post)

  1. Enricus
    Member
    Posted 4 months ago #

    This is a great theme, with lots of customisation options, is very lightweight and will look great with any modification.
    Before using it, that theme had failed the W3 Validator, with some complaints about not closed tags, and stuff.
    Steps to get it fixed:
    1. Open index.php on the theme folder.
    2. Cut line 170, thus leaving that file ending in <?php get_footer(); ?>.
    2. Save that file, and move on to footer.php.
    3. Insert the pasted snippet on line #19, thus making the file end with:

    <?php wp_footer(); ?>
    </div>
    </body>
    </html>

    That's it, now it will pass the XHTML validator!
    Cheers,
    Enric

Reply

You must log in to post.

About this Topic

Tags