bmilliot
Member
Posted 3 years ago #
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!
I need this too and I would like to display description as well. Please help.
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) { ?>
bmilliot
Member
Posted 3 years ago #