WordPress.org

Support

Support » Plugins and Hacks » [Resolved] blocks inner divs with an invalid id

[Resolved] blocks inner divs with an invalid id

  • personaraujo
    Member

    @personaraujo

    the latest versions has an issue with the block inner divs IDs. When setting more than one ad in a block/group it’s is generating a code, something like “div id=”1 2″”, wich is invalid according to w3c best practices.

    i’ve made a tiny change at line 282 in adrotate-output.php

    ” $output .= ‘<div id=”‘.$j.’_’.$banner_id.'”class=”block_inner a-‘.$block->id; “

    pls have a look. cheers!

    http://wordpress.org/extend/plugins/adrotate/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] blocks inner divs with an invalid id’ is closed to new replies.