Fixing html 5 validation errors on a self hosted wordpress blog

So it was bout a month ago when suddenly the validator at http://validator.w3.org/ decided that it was going to be picky about the values in the “rel” attribute. Although i fixed this for grigorig back then i didn’t have time to write a post at the time, what with exams happening etc, but with the latest update to WordPress overwriting some files i decided to make sure i catalog the events and tell you, our 2 or 3 readers where to edit what files. Incidentally as i type this i’m making my way through a bowl of vanilla ice cream with a broken up crunchy bar mixed in, delicious. for best results on the crumbling a crunchy bar just twist it inside the packaging from the end and let it fall in the ice cream.

Anyhoo, the html 5 wordpress fixes. You will need an ftp client like filezilla and a text editor that has the option to save files without the BOM (byte order mark). So if you are on windows i suggest notepad++ from http://notepad-plus-plus.org/ and read up on the post about bom from an earlier post here.
Non windows should be OK, i’m using coda on the mac which does the job of ftp and text editing 🙂

This entry was posted in General, lartens, Quirks, Tech and tagged , , , , , , , , , , , , , . Bookmark the permalink.

4 Responses to Fixing html 5 validation errors on a self hosted wordpress blog

  1. Dibbs Ahoy says:

    Thanks for this information, its gonna come in handy – twist the Crunchy inside the packet! Never thought of that!

  2. lartens says:

    I know, the cruchy really deserves a post of it’s own, but it doesn’t fit in any gaming or tech categories. hehe

  3. Johan says:

    Editing WP core is NOT the way to do this as any changes will be reverted at the next update. Instead, use your theme’s functions.php

    remove_action(‘wp_head’, ‘adjacent_posts_rel_link_wp_head’, 10, 0);
    remove_action(‘wp_head’, ‘start_post_rel_link’, 10, 0 );
    etc…

Leave a Reply to lartens Cancel reply

Your email address will not be published. Required fields are marked *