WordPress.org

Support

Support » Plugins and Hacks » [Plugin: NextGEN Gallery] Using gallery desription in a gallery template

[Plugin: NextGEN Gallery] Using gallery desription in a gallery template

  • Since the description fields now accept and output HTML I am trying to use the gallery description to give an introduction to each gallery by getting the gallery description (galdesc) to output from a gallery template.

    However, if I put
    <?php echo $gallery->galdesc ?>
    I get no output.

    What code should I be using ?

Viewing 1 replies (of 1 total)
  • by using

    <?php var_dump($myvariable)?php
    in this case $gallery – I got the answer :

    If you want your gallery description to show in your gallery use

    `<?php echo $gallery->description ?>

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] Using gallery desription in a gallery template’ is closed to new replies.
Skip to toolbar