Author Topic: Markup Validation  (Read 713 times)

Anonymous

  • Guest
Markup Validation
« on: February 20, 2010, 08:58:24 PM »
Hi Peter,

Just dropping your plugin (AVH Extended Categories) into a new WP install (2.9.2) on a personal little project. Love the plugin BTW, saves me a bit of time and effort! One thing though, to get it passed through http://validator.w3.org/ I had to make a quick change. The error in the validation was that the id of avhec-widget-line was being applied to more than one element, and therefore wouldn't pass the test.

I changed avh-ec.core.php on line 576 to...

$link = '<div class="avhec-widget-line"><a href="' . get_category_link( $category->term_id ) . '" ';

...rather than a id="avhec-widget-line" and avh-ec.widget.css on line 3 to...

.avhec-widget-line

...rather than #avhec-widget-line and all passes the tests nicely.

Just thought you might like to know.

Thanks again for the plugin.

Pete I

(me|at|peteinnes|dot|com)