How To Validate Your Wordpress Code
Whether you are thinking of creating your own theme or using a free theme, it’s worth validating the code. Messy code creates problems for Search engines crawing your site/blog, which may cause problems with indexing. This simple 2 step process will find any problems:
Check the XHTML:
Enter each of the pages of the theme into the XHTML validator page
Check the CSS:
1) In your browser, click on “view > source”
2) Find the address of the style sheet which looks something like this:
“yourblog.com/wp-content/themes/Theme-Name/style.css”
3) Enter that into the CSS Validator page
Filed under: Wordpress Tips on January 16th, 2008
Leave a Reply