• Greetings – First, I’m a big fan of this plugin.

    Showing “captions” of my photos works just fine, but when I have the “Show description” option enabled, and/or have the ‘show_description’ field set, the descriptions do not show.

    Looking around at the code, around line 334 of flickr-justified-gallery.php, I see you are loading the description from $photo['description']['_content'], and I see that the description content is not in a _content element. It’s just $photo['description']. When I change that block to this all is well.

    if ($show_descriptions && isset($photo['description'])) {
        $ris .= '<div class="photo-desc">' . fjgwpp_filterDescription($photo['description']) . '</div>';
    }
    

    Not sure if this is “the right fix”, but thought I’d share.

    • This topic was modified 6 years, 5 months ago by jackodog.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Descriptions Don’t Show – My Hack to fix?’ is closed to new replies.