WordPress.org

Forums

AdRotate
[resolved] blocks inner divs with an invalid id (2 posts)

  1. personaraujo
    Member
    Posted 4 months ago #

    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/

  2. Arnan de Gans
    Member
    Plugin Author

    Posted 4 months ago #

    Hmm, I'll correct that for the next release.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.