• I’d like to display the gallery description right above the thumbnails on each of the gallery pages. Is there a way to do this? I tried coping <?php echo $gallery->galdesc ?> from album-extend.php and pasting it into gallery.php but that didn’t do a thing. Thanks for any help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Knight Fight

    (@patriek-jeuriens)

    add this to the gallery.php. <?php echo $gallery->description ?>
    that worked for me.

    Worked for me, too. Thanks!

    What if you only want it to display on the first page of the gallery, say if you have a number of image pages in that gallery and dont want the description repeated for SEO reasons?

    Many Thanks

    Craig

    Knight Fight

    (@patriek-jeuriens)

    This is a bit of a hack but works.

    <?php
    if($_GET['nggpage'] == "")
    {
    	   echo $gallery->description;
    }
    ?>

    tried this on ngg1.2.0 trunk version, so no garantuees.

    Awesome, that seems to work, thanks very much.. this is possibly bad form but i was wondering if you could have a look at https://www.ads-software.com/support/topic/242113?replies=2 and see if you are aware of anything that does this or at least get what i want to do and could possibly point me in a direction? Again thanks very much for the last post..;)

    Craig

    This is the closes thread to my issue. I am a noob so please be gentle. All I want to do is show the thumbnails gallery on post page (the single.php) and not on the index page or home page as it does now. What kind of code do I need and where do I place this. I’ve tried searching google and forums for the last 2 days and no help.

    Many thank

    oops the page is at Sneakersummit.com

    Many Thanks

    Anonymous User 4104441

    (@anonymized-4104441)

    thanks guys, finally i got it working

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: NextGEN Gallery] show gallery description on gallery page’ is closed to new replies.