• Resolved frankschreiber

    (@frankschreiber)


    Hallo Jan,
    first of all. I like the plugin wp-sponsors, because it is based on the wordpress boilerplate ans it can do a text and image output.

    The problem: I am use the plugin with the following shortcode setting:

    [sponsors images=no description=yes title=yes size=full style=list]

    so I get a title <h3>’.get_the_title().'</h3> followed by get_the_title(). I changed class-wp-sponsors-shortcode.php line 107-112 to

    // Check if we should do images, just show the title if there’s no image set
    if($images){
    $sponsor .= $shame->getImage(get_the_ID());
    } elseif ($title === false) {
    $sponsor .= ‘<h3>’.get_the_title().'</h3>’;
    }

    Maybe the Title output if no image is present should be removed.

    Regards Frank

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Frank

    Thanks for reporting the issue, I’ll look into it over the weekend and get back to you soon!

    Hey Frank

    This should be fixed in the latest update (you’ll want version 2.2.2 for this).

    Thanks again for reporting the issue and for using my plugin!

    Cheers
    Jan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Title shown twice’ is closed to new replies.