_e("Can't find the perfect image?", "layerswp"); ?> </div> <div class="layers-excerpt"> <?php _e(sprintf('Visit <a href="%s" target="_blank">Photodune</a> and find just the right photos for your site at incredibly affordable prices', 'http://bit.ly/layers-photodune'), 'layerswp'); ?> </div> </div> <div class="layers-row layers-content layers-discover-more-feature layers-push-bottom"> <?php /** * Retrieve Popular photos */ $popular = $api->get_popular('photodune'); if (!is_wp_error($popular)) { if (isset($popular->popular->items_last_week)) { shuffle($popular->popular->items_last_week); ?> <?php foreach ($popular->popular->items_last_week as $key => $photo) { ?> <?php if (8 <= $key) { continue; } ?> <div class="layers-column layers-span-3 t-center"> <a href="<?php echo $photo->url;