Support » Plugins » [Plugin: NextGEN Gallery] Gallery title over each Gallery?

  • bmilliot

    (@bmilliot)


    Been searching for a solution but can’t find one.
    I have several galleries in one page, and want each to display the title from the admin gallery title input.

    Is there a way to do this without hacking the code?

    Or do I have to add some php to a template file?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Alex

    (@netxm)

    I need this too and I would like to display description as well. Please help.

    Alex

    (@netxm)

    Plugins -> NextGen-Gallery ->View ->gallery.php replace

    <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($gallery)) : ?>
    
    <div class="ngg-galleryoverview" id="<?php echo $gallery->anchor ?>">
    
    <?php if ($gallery->show_slideshow) { ?>

    with

    <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($gallery)) : ?>
    
    <div class="ngg-galleryoverview" id="<?php echo $gallery->anchor ?>">
    <p><?php echo $gallery->title ?></p>
    <p><?php echo $gallery->description ?></p>
    
    <?php if ($gallery->show_slideshow) { ?>

    Yes, perfect.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: NextGEN Gallery] Gallery title over each Gallery?’ is closed to new replies.