Forum
How do I display all galleries apart from one on a certain page?
I'm using the Gallery app to display various images on a page of my site, on another page I would also like to display all of these images except for one specific gallery.
Is there an easy way to do this?
Cheers
You can use a filter for that:
Thanks a lot for that! I was pretty close - just missed off album in front of Slug!
At the moment it's only displaying one image from the Galleries though, I'm assuming that's something to do with the template file I'm using?
It looks like this at the moment:
perch_gallery_albums
list the albums. Do you want to list the images instead?I need to list the images within the albums, as well as the album titles and the description text for each.
How are you doing that at the moment?
I currently just have the code I posted above, and then on the page I have -
Can anyone help me with this?
Cheers
If you're listing albums then you get one image per album. If you want to list all the images, use
skip-template
to get the album slug and then loop through requesting the images for the album.OK cheers, so should it look like this?
Right, except you need to catch the output: