• Resolved mschot

    (@mschot)


    Previously (version < 3.0.0) the image-description of the Picture of the day widget showed HTML perfectly (in my case the URL to the copyright holder of the photo) and I could turn on/off HTML (admin settings) for the description in the slideshow etc (this setting however has no influence on the widget).

    Now as per 3.0.1 the widget shows the HTML as text/code. There is a wppa-html() function call for the description in the slideshow etc, but not in the widget. Could you please look into this?

    thanks,

    Marc

    https://www.ads-software.com/extend/plugins/wp-photo-album-plus/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    I fixed it, do a re-install (de-activate, delete and re-install and activate the plugin, (it may take half an hour before the fix is available)

    or modify wppa_widget.php as follows:

    line 125:

    $widget_content .= '<div class="wppa-widget-text">' . wppa_qtrans(wppa_html(stripslashes($image['name']))) . '</div>';

    line 130:

    $widget_content .= '<div class="wppa-widget-text">' . wppa_qtrans(wppa_html(stripslashes($image['description']))) . '</div>';

    i.e. insert wppa_html( at the right place! and don’t forget the extra )

    Thread Starter mschot

    (@mschot)

    Thanks! It works on all pages except the frontpage of the site (??).

    Unless you have programmed an exception for the frontpage, I assume there is some other plugin messing stuff up; it’s not a caching issue, when I change the widget text that change does show … with the error still occurring.

    Also now a new error has been introduced: if I set a link with single-quotes <a href='https://etc'> I get a link to https://myurl/https://etc instead of https://etc; with doublequotes < href="https://etc" > it’s fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Photo Album Plus] Widget doesn't show HTML anymore in 3.0.1’ is closed to new replies.