WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Anna
    Member
    Posted 3 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
    Member
    Posted 3 years ago #

    Use $gallery->name to get the slug.

  3. Anna
    Member
    Posted 3 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

About this Topic

Tags

No tags yet.