Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   WP Validation Tutorial needed (https://www.warriorforum.com/programming/52815-wp-validation-tutorial-needed.html)

curious1960 4th February 2009 05:56 AM

WP Validation Tutorial needed
 
Does anyone know how to go about validating WP or any web page for that matter? There is something different about blogs I noticed.

WC3 is showing tons of errors on my blog and I am disparate to learn how to fix it.

ChrisBraddock 4th February 2009 03:49 PM

Re: WP Validation Tutorial needed
 
Fix the errors one by one.

A validation error (on a blog or wherever - doesn't matter) just means the HTML structure isn't adhering to the HTML specification. It may render fine in all your target browsers though.

The w3 validator tells you exactly what's broken, so go fix those errors one by one, revalidate and move on to the next. You'll need to hunt down in the theme's PHP where code is broken (the .php code is spitting out invalid HTML) and fix it. Nothing more to it.

curious1960 5th February 2009 05:28 AM

Re: WP Validation Tutorial needed
 
There is my "unique" problem......I don't know how to fix it....where to go on my blog to fix it?

tihomir_wwf 5th February 2009 05:58 AM

Re: WP Validation Tutorial needed
 
wow, I thought that WP has no problems in validation. Are you using some additional pluging for WP ?

curious1960 5th February 2009 06:58 AM

Re: WP Validation Tutorial needed
 
Yes I am using the plugins, who isn't? WP has lots of problems with validation especially if you add youtube videos and such....

I also noticed that my banners are causing the errors. All of it wouldn't be a problem if I knew how to fix them.

WC3 validator shows the problem and tells you what may be causing it. However, aether am I totally dumb or it is in fact very hard to understand without specific knowledge that I need to acquire.

Question is: where do I start?

awesometbn 6th February 2009 09:32 AM

Re: WP Validation Tutorial needed
 
Hello curious1960,
Can you post a couple of examples? You are free to change things from your WordPress dashboard. Just go to Appearance, then Edit to change the actual code for your theme files. Or go to Plugins, then Edit to change the actual code for individual plugin files.

Another idea is to document what the validation report is telling you, and ask the author of the plugin to make their own updates in a future release. Either send them an email or use their support forum. I've done that before for other issues, and sometimes they are quick to respond with updated versions.

ChrisBraddock 6th February 2009 08:26 PM

Re: WP Validation Tutorial needed
 
Wait a min here.

You can't assume this is a WP issue (most likely it is not). Particularly if you're using plugins or referencing code off some other site (embedding YouTube videos).

Disable all your plugins and switch to the default WordPress theme. Is your site still not validating? If so, maybe you're doing something in one of your post's HTML that doesn't adhere to the spec.

Better question though - why do you want your site to validate? If your site looks right in the top 2-3 browers that bring you 99% of your traffic (typical scenario) then forget about it.

Karen Blundell 7th February 2009 08:24 PM

Re: WP Validation Tutorial needed
 
sometimes plugins can throw the validation off, but more often than not it's the blog poster using HTML code when it should be XHTML code in the posts...there is a difference.

curious1960 17th May 2009 11:52 AM

Re: WP Validation Tutorial needed
 
All your comments are highly appreciated but not helpful. I am looking for a guide...a book explaining step by step how it's done.

Or a software recommendation that can do it easily understandable to you.

I just now saw list of tools someone posted here http://www.iwebtool.com/html_optimizer

I will check it out.


All times are GMT -6. The time now is 06:50 AM.