WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
[resolved] NextGen gallery album view trying to replace "photos" (3 posts)

  1. GaryManners
    Member
    Posted 2 years ago #

    I haven't found this question anywhere online so I thought i'd ask here.
    I just implemented the NextGen Gallery and I'm lovin' it.
    One tweak I can't figure out though.

    In the album view where all the galleries are listed as thumbnails. Beneath the thumbnail (compact view) is the gallery title and beneath that it reads "#photos"
    where # is the number of images in the gallery.

    What I'm trying to do is replace the term "photos" with "images".
    I can't for the life of me find where NextGen is generating the word "photos".
    I can see that it is in the div class "ngg-description" but nothing more than that.

    Anyone have any clues.

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. GaryManners
    Member
    Posted 2 years ago #

    I answered my own question.
    For those who may want to do this here is where I found the "photos" tag.
    \

    In the plug-ins edit files for NextGen gallery open nextgen-gallery/view/album-compact.php

    check out line 32
    <p><?php echo $gallery->counter ?> <?php _e('Photos', 'nggallery') ?></p>

    Change the Photos to whatever you want.

  3. yeosteve
    Member
    Posted 1 year ago #

    Thanks for that.

    It would be better if we didn't have to hack the core code though. I've just taken 4 hours to find where the last developer tweaked about 10 different places which were overwritten when I updated the gallery

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags