NextGEN Gallery
[resolved] Getting gallery nice name (3 posts)

  1. Anna
    Posted 5 years ago #

    Hi. I'm trying to customize an album template and I've got everything working so far. However, there's one more thing left for me to do.

    Using <?php echo $gallery->title ?> in the template would result in something similar to "Gallery Title".

    Is something for me to use that it comes out as "gallery-title" instead?

    It would also result in "gallerys-name" instead of "Gallery's Name".

    Help, please?

  2. Joseph
    Posted 5 years ago #

    Use $gallery->name to get the slug.

  3. Anna
    Posted 5 years ago #

    Oh, I see. Thank you very much for the help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.