/** * Ajax callback function that retrieves the Yacht Listing */ function selenenw_get_yacht_listing_form_callback() { selenenw_get_yacht_listing(true); }
</a> <?php } ?> </div> </section> <?php } ?> <!-- //Call to action --> <?php if (uf('yacht_listing_show', '', false)) { ?> <?php $recent_yachts = selenenw_get_yacht_listing(false, array(), 'is_selenenw DESC', '12'); ?> <?php if ($recent_yachts) { ?> <!-- Yachts --> <div class="results"> <?php foreach ($recent_yachts as $yacht) { ?> <!-- Item --> <figure class="one-fourth item"> <img src="<?php echo $yacht['primary_image']; ?> " alt="<?php