<div class="primary-content"> <?php if (perch_get('s')) { // Output the large images perch_gallery_album_images(perch_get('s'), array('template' => 'd_list_image.html')); // Output the small images used for navigation perch_gallery_album_images(perch_get('s'), array('template' => 'd_nav_image.html')); } ?> </div> <nav class="sidebar"> <h2>Albums</h2> <ul class="glist albums"> <?php perch_gallery_albums(); ?> </ul> </nav> </div> <footer class="layout-footer"> <div class="wrapper"> <ul class="social-links"> <li class="twitter"><a href="#" rel="me">Twitter</a></li> <li class="facebook"><a href="#" rel="me">Facebook</a></li> <li class="flickr"><a href="#" rel="me">Flickr</a></li> <li class="linkedin"><a href="#" rel="me">LinkedIn</a></li> <li class="rss"><a href="#">RSS</a></li> </ul> <small>Copyright © <?php
perch_gallery_album_field(perch_get('s'), 'albumTitle'); ?> &body=https://waterford.sz/news/photos/album.php?s=<?php perch_gallery_album_field(perch_get('s'), 'albumSlug'); ?> "><i class="icon-email"></i></a></li> </ul> </div> </div> </div> </div> <section> <div class="cards"> <header class="fp-header-ctnr"> <h1 class="float-left medium blue">Latest photos</h1> <p class="small"><a class="float-right link margin-top-05" href="/news/photos/">All latest photos ›</a></p> </header> <?php perch_gallery_albums(array('count' => 4, 'template' => 'album_recent.html', 'sort' => 'albumOrder', 'sort-order' => 'DESC', 'image' => true)); ?> </div> </section> <div class="article-background"></div> <?php perch_layout('footer'); ?>
function perch_gallery_album_listing($opts = array(), $return = false) { return perch_gallery_albums($opts, $return); }
?> <div class="row"> <div class="twelve columns inset-white"> <h1 class="handwritten"><?php perch_content('Bespoke Page Title'); ?> </h1> <?php perch_content('Bespoke Page Main Copy'); ?> </div> </div> <!-- Bespoke albums show here --> <?php perch_gallery_albums(array('template' => 'bespoke_album.html', 'filter' => 'category', 'match' => 'eq', 'value' => 'bespoke')); ?> <?php perch_layout('global.footer', array('activePage' => 'contact')); ?>
perch_pages_navigation(array('levels' => 1)); ?> </nav> </header> <!-- change cols2-nav-right to cols2-nav-left if you want the sidebar on the left --> <div class="wrapper cols2-nav-right"> <div class="primary-content"> <h1>Example C: gallery with a lightbox</h1> <p>This is a simple lightbox example using the <a href="http://jacklmoore.com/colorbox/">ColorBox</a> jQuery plugin.</p> <ul class="albumdisplay glist"> <?php perch_gallery_albums(array('template' => 'c_album-image.html', 'image' => true)); ?> </ul> </div> </div> <footer class="layout-footer"> <div class="wrapper"> <ul class="social-links"> <li class="twitter"><a href="#" rel="me">Twitter</a></li> <li class="facebook"><a href="#" rel="me">Facebook</a></li> <li class="flickr"><a href="#" rel="me">Flickr</a></li> <li class="linkedin"><a href="#" rel="me">LinkedIn</a></li> <li class="rss"><a href="#">RSS</a></li>
<?php include $_SERVER['DOCUMENT_ROOT'] . '/perch/runtime.php'; perch_layout('header'); ?> <title>Photos | Waterford Kamhlaba UWC of Southern Africa</title> <meta name="description" itemprop="description" content="Gain a glimpse into life at Waterford Kamhlaba through photos taken by our students." /> <?php perch_layout('navigation'); ?> <section class="cards margin-subnav"> <?php perch_gallery_albums(array('template' => 'section_gallery.html', 'image' => true, 'sort' => 'albumOrder', 'sort-order' => 'DESC')); ?> </section> <?php perch_layout('footer');
?> <div class="row"> <div class="twelve columns inset-white"> <h1 class="handwritten"><?php perch_content('Whats New Page Title'); ?> </h1> <?php perch_content('Whats New Page Main Copy'); ?> </div> </div> <!-- Bespoke albums show here --> <?php perch_gallery_albums(array('template' => 'new_season_album.html', 'filter' => 'category', 'match' => 'eq', 'value' => 'new-season')); ?> <?php perch_layout('global.footer', array('activePage' => 'new-season')); ?>