How can I show nextgen gallery thumbnail title and description? I tried to find it in the gallery settings but it seems it was not included there.
Leave a Reply
You must be logged in to post a comment.
How can I show nextgen gallery thumbnail title and description? I tried to find it in the gallery settings but it seems it was not included there.
You must be logged in to post a comment.
I see that a lot of people are struggling with this, so I will share my solution in very simple terms, but in an “understandable” way:
Just make a copy of your
gallery.php
file (located within theview
folder which is located in the Next Gen Gallery directory; the path is something like:YOURDOMAIN.COM/WORDPRESS_INSTALATION_FOLDER/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/view/GALLERY.PHP)
Let’s name it
gallery-new.php
. Open the file with any text editor or Sublime, and paste this echo to the title and description (just paste it below this line):You can also add a “Go Back to Galleries” button by adding a very basic line of code:
Save your file and upload it.
HERE IS THE “TRICK”:
Log in into WordPress, in the dashboard, select the
Gallery
icon (Next Gen Gallery’s icon, more specifically> GALLERY SETTINGS > NEXT GEN BASIC THUMBNAILS
).And here is the simple solution: just select your template in the
TEMPLATE
menu (right belowShow Slideshow
), in this case selectgallery-new.php
, then save the changes and you’re done! 🙂