GaryManners
Member
Posted 1 year 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/
GaryManners
Member
Posted 1 year 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.
yeosteve
Member
Posted 9 months 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