Amanda Watson
asked on
How can you add album description for NexGEN gallery in wordpress
Hi There,
I have added some albums with shortcode to a page like
[album id=1 template=compact] and
[album id=1 template=extend]
but neither show the album description.
Does anyone know how I can enabled this setting in NextGEN.
Thank you
I have added some albums with shortcode to a page like
[album id=1 template=compact] and
[album id=1 template=extend]
but neither show the album description.
Does anyone know how I can enabled this setting in NextGEN.
Thank you
ASKER
Thanks very much for the reply....where is gallery.php
I can find nggallery.php in wp-content/plugins/nextgen -gallery.. .???
I can find nggallery.php in wp-content/plugins/nextgen
ASKER
oh in this one wp-contents/plugins/nextge n-gallery/ view/galle ry.php?
ASKER
ok I added the code suggested and I cannot see any change at all..?
This is the gallery.php file I used which I added the code you suggested
gallery.txt
This is the gallery.php file I used which I added the code you suggested
gallery.txt
ASKER
Sorry I am actually trying to display the DESCRIPTION of the album, not just the album NAME but also the DESCRIPTION....?
ASKER
I think name? is supposed to be description? maybe???
And I read here that the extended version should show the description...but it doesn't???
http://creativeslice.com/tutorials/nextgen-gallery/
And I read here that the extended version should show the description...but it doesn't???
http://creativeslice.com/tutorials/nextgen-gallery/
ASKER
and it shows how many images are in the album but NOT what I wrote in the description....do I need to add another plugin or something...this just isn't working correctly??
snowball, let me test on my development wordpress blog and I will get back to you
ASKER
thank you very much
okay, all you need to do is place the following somewhere, ie above the "<!-- Thumbnails -->";
<h2><?php echo $gallery->title ?></h2>
ASKER
Sorry in the wp-contents/plugins/nextge n-gallery/ view/galle ry.php file?
yep, same as the file you attached.
ASKER
ok so I did that and it shows the TITLE of the album, but not the DESCRIPTION???
and it also shows it on the subpage of the album, not the album description?
I would like the description on the image to show similar to this
http://adamnoosa.redbubble.com/sets/67974/works
When you create an album and enter it into a page, I would like the album description to show underneath the thumbnail??
and it also shows it on the subpage of the album, not the album description?
I would like the description on the image to show similar to this
http://adamnoosa.redbubble.com/sets/67974/works
When you create an album and enter it into a page, I would like the album description to show underneath the thumbnail??
ASKER
in album-extend.php there is a tag <?php echo $gallery->galdesc ?> which is where the description of the album should show.....
Line 28 in album-extent.php
But it doesn't show???
Then it shows <?php if ($gallery->counter > 0) : ?>
That works and I can see the number of images in the album, but no description??
Any ideas?
Line 28 in album-extent.php
But it doesn't show???
Then it shows <?php if ($gallery->counter > 0) : ?>
That works and I can see the number of images in the album, but no description??
Any ideas?
ASKER
I would even be satisfied with a description being shown under the thumbs when you are in grid view....they only show in the slideshow when you click on the main image
I just want it to look like this http://adamnoosa.redbubble.com/sets/67974/works?
I just want it to look like this http://adamnoosa.redbubble.com/sets/67974/works?
snowball, can you please clarify what you are after?
is it, when you are viewing the gallery, you want the description of the album viewable under the thumbnails?
is it, when you are viewing the gallery, you want the description of the album viewable under the thumbnails?
ASKER
I created a page that shows all the albums like this
:
[album id=1 template=extend]
[album id=2 template=extend]
[album id=3 template=extend]
And when you view the page you can see an album thumb and then it shows how many photos are in each album....but it does not show the ALBUM description.
You can then click on the album thumb and then it shows all the images in the album, again, with no desciption, but then if you click on the image it shows the image in a lightbox with the description.
So what I am after is the ALBUM description to show with the extend version.....and I have read forums that say the extend version will show the album description, but mine certainly isnt?
So do you know how to fix this?
:
[album id=1 template=extend]
[album id=2 template=extend]
[album id=3 template=extend]
And when you view the page you can see an album thumb and then it shows how many photos are in each album....but it does not show the ALBUM description.
You can then click on the album thumb and then it shows all the images in the album, again, with no desciption, but then if you click on the image it shows the image in a lightbox with the description.
So what I am after is the ALBUM description to show with the extend version.....and I have read forums that say the extend version will show the album description, but mine certainly isnt?
So do you know how to fix this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you, I will try it.
Currently the client is now satisfied so I don't need to do it anymore, but I think it would be good to get it working so I will try the code and let you know how I go....
Currently the client is now satisfied so I don't need to do it anymore, but I think it would be good to get it working so I will try the code and let you know how I go....
ASKER
Thanks this worked ;-)
Open in new window
and place this somewhere
Open in new window
refer to here
wordpress.org/support/topi