Viewing 2 replies - 1 through 2 (of 2 total)
  • This is a bug I mentioned in my post here. The variable $class is not initalized.

    To fix it, open bootstrap_shortcodes.php in your editor and go to line 1734. Insert the line

    $class = "";

    so that the code looks like this:

    $class = "";
    $class .= ( $atts['type'] )       ? 'img-' . $atts['type'] . ' ' : '';
    $class .= ( $atts['responsive']   == 'true' ) ? ' img-responsive' : '';
    $class .= ( $atts['xclass'] )     ? ' ' . $atts['xclass'] : '';
    Thread Starter sejb

    (@sejb)

    Thanks for letting me know about this. Sorry I didn’t see your previous post about it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[img] not working’ is closed to new replies.