WP Validation Tutorial needed

8 replies
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.
#needed #tutorial #validation #wc3 validation #wordpress validation
  • Profile picture of the author ChrisBraddock
    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.
    {{ DiscussionBoard.errors[487979].message }}
  • Profile picture of the author curious1960
    There is my "unique" problem......I don't know how to fix it....where to go on my blog to fix it?
    {{ DiscussionBoard.errors[489396].message }}
  • Profile picture of the author tihomir_wwf
    wow, I thought that WP has no problems in validation. Are you using some additional pluging for WP ?
    {{ DiscussionBoard.errors[489456].message }}
  • Profile picture of the author curious1960
    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?
    {{ DiscussionBoard.errors[489556].message }}
  • Profile picture of the author awesometbn
    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.
    {{ DiscussionBoard.errors[492449].message }}
  • Profile picture of the author ChrisBraddock
    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.
    {{ DiscussionBoard.errors[493958].message }}
    • Profile picture of the author Karen Blundell
      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.
      Signature
      ---------------
      {{ DiscussionBoard.errors[496529].message }}
      • Profile picture of the author curious1960
        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.
        {{ DiscussionBoard.errors[792135].message }}

Trending Topics