Forum

Thread tagged as: Question, Gallery

exclude an album from gallery

I have one 'special' album that gets its own page for display purposes... if I want another page that will show all other albums EXCEPT the 'special' one is this possible?

here's my code that selects the special album only - can I doctor this?

<?php {

            // Output the large images
            $opts = array(
               'template'   =>'d_list_image.html'
            );
            perch_gallery_album('special-photography-1', $opts);

            // Output the small images used for navigation
            $opts = array(
               'template'   =>'d_nav_image.html'
            );
            perch_gallery_album('special-photography-1', $opts);
        }

        ?>
Charlie Elsey

Charlie Elsey 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Add a field to the album.html template to mark the album as special, and then filter your listing on that field.