• Resolved eberger3

    (@eberger3)


    Great plugin

    I was having trouble disabling the image descriptions so that my tiles would all be the same height so I decided to take a look at your code. I noticed that True was missing quotes in all three instances of:

    get_option( 'displayDescription' ) == true ? $output .= '<p>' . htmlspecialchars( $data['data'][$i]['caption']['text'], ENT_QUOTES ) . '</p>' : null ;

    in simply-instagram-functions.php

    So I just wrapped all three of them in quotes like:

    get_option( 'displayDescription' ) == "true" ? $output .= '<p>' . htmlspecialchars( $data['data'][$i]['caption']['text'], ENT_QUOTES ) . '</p>' : null ;

    and it appears to be working!

    http://wordpress.org/extend/plugins/simply-instagram/

Viewing 1 replies (of 1 total)
  • Thanks eberger3 for the fix! This was not working for me as well and I was able to get it working properly thanks to you!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Simply Instagram] Fix for Show Description toggle on tiles’ is closed to new replies.