WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. personaraujo
    Member
    Posted 1 year 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 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.