Ever since I launched the site, there has been literally hundreds of errors showing up in xhtml validation. I found this strange and frustrating as I do usually code to standards without thinking too much about it. So these errors were really starting to tick me off, not to mention make me look like I n00b when somebody validated my pages. But I found a solution!

It turns out that Wordpress has a built in function that auto adds/removes html tags, particularly paragraph tags, regardless of wether you have WYSIWYG enabled or not. So with a bit of research, I stumbled accross an unofficial plugin that gives you the option to disable auto tagging. And it works like a charm!

The plugin was created by Alex King and is called WP Unformatted. You can download it from this page:

http://alexking.org/projects/wordpress

So my thanks go to Alex for a very helpful plugin. My pages are now 100% as they should be. Please note: this plugin does not fix validation errors, it just stops Wordpress from creating any additional errors. If you are still left with errors, you will need to review your own written code.

Incase you spot it, the contact page still has a few errors, but that is due to the contact forms coding (which isn’t my own). But I will have a look at that soon. Thanks for reading peoples :)

Peace, Lance

Category: Uncategorized