<?php $recentItems = get_theme_option('Homepage Recent Items'); if ($recentItems === null || $recentItems === '') { $recentItems = 3; } else { $recentItems = (int) $recentItems; } if ($recentItems) { ?> <div id="recent-items"> <h2><?php echo __('Recently Added Items'); ?> </h2> <?php echo recent_items($recentItems); ?> <p class="view-items-link"><a href="<?php echo html_escape(url('items')); ?> "><?php echo __('View All Items'); ?> </a></p> </div><!--end recent-items --> <?php } fire_plugin_hook('public_home', array('view' => $this)); ?> <?php
<?php echo exhibit_builder_display_random_featured_exhibit(); ?> <?php } ?> </div> </div> <div class="row"> <div class="col-sm-12"> <h2><?php echo __('Recently Added Items'); ?> </h2> <?php echo recent_items(3); ?> <p class="view-items-link"><a href="<?php echo html_escape(url('items')); ?> "><?php echo __('View All Items'); ?> </a></p> </div> <?php fire_plugin_hook('public_home', array('view' => $this)); ?> </div>