WordPress.org

Support

Support » Plugins and Hacks » [Plugin: NextGEN Gallery] All I want: decription to show below singlepic, how?

[Plugin: NextGEN Gallery] All I want: decription to show below singlepic, how?

  • Love this plugin thanks.

    But I still can’t figure out how to have the DESCRIPTION (as entered on the manage gallery screen) to show below a SINGLEPIC.

    I’ve read forums, googled. To no avail.

    Not sure if I need to modify a template setting, or use a different form of shortcode. I’ve tried lots of things.

    Any suggestions?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Open the file view/singlepic.php :

    change the line

    <?php if (!empty ($image->caption)) : ?>
    <span><?php echo $image->caption ?></span><?php endif; ?>

    to

    <?php if (!empty ($image->description)) : ?>
    <span><?php echo $image->description ?></span><?php endif; ?>

    or add the description where ever you want with <?php echo $image->description ?>

    Hi Alex, thanks for quick response!

    I followed your instructions. But still does not show any text under the singlepic (i’ve entered it in the manage gallery screen and it shows ok when popped up from gallery view).

    You can see example here:

    http://www.starksilvercreek.com/2009/01/canadian-snowy-signoff.html

    My shortcode on that entry is:

    [singlepic=613,320,240,,right]

    Any other ideas?

    Cheers,
    Clint

    ok i see it now. It is displaying it in wrong place (not below photo).

    I’m guessing I need to modify CSS or some other formatting code. For now I think I’ll leave it without the caption/description.

    I´ve the same problem and no solution. I can display the description, but not under the picture. It´s a problem of “float” and I have no idea, how to do it…

    So I leave it without description to.

    Any idea of how to display the caption below the single pic BEFORE it has been clicked on?

    Also, where is the template: caption?

    Thanks!

    There is now an option to have more than one column – i changed mine to 2 columns and that forced the copy under…

    Otherwise, it’s a CSS styling issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: NextGEN Gallery] All I want: decription to show below singlepic, how?’ is closed to new replies.
Skip to toolbar