WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. shoot2score67
    Member
    Posted 5 years ago #

    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?

  2. Alex Rabe
    Member
    Posted 5 years ago #

    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 ?>

  3. shoot2score67
    Member
    Posted 5 years ago #

    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

  4. shoot2score67
    Member
    Posted 5 years ago #

    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.

  5. Loni62
    Member
    Posted 5 years ago #

    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.

  6. gilsurf
    Member
    Posted 5 years ago #

    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!

  7. hazelbug
    Member
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic