WordPress.org

Ready to get started?Download WordPress

Forums

Flexi Quote Rotator
Validation errors due to multiple span ID's (1 post)

  1. Tibor Paulsch
    Member
    Posted 1 year ago #

    Hi,

    I noticed a lot of validation errors due to the fact that quote-rotator-class.php adds ID's instead of classes for the spans "quote" and "quoteauthor" (line 109)

    This is easy to fix by replacing

    foreach($results as $result){
    echo "\"$openquote<span id='quote'>$result->quote</span>$closequote";
    if($result->author != '')
    echo " <span id='quoteauthor'>$result->author</span>";
    echo "\",\n";

    with

    foreach($results as $result){
    echo "\"$openquote<span class='quote'>$result->quote</span>$closequote";
    if($result->author != '')
    echo " <span class='quoteauthor'>$result->author</span>";
    echo "\",\n";

    http://wordpress.org/extend/plugins/flexi-quote-rotator/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic