<?php
/**
 * This file is used to show sliders at the top of your pages based on your meta option
 * @package Ultra WordPress Theme
 * @since 1.0
 * @author AJ Clarke : http://wpexplorer.com
 * @copyright Copyright (c) 2012, AJ Clarke
 * @link http://wpexplorer.com
 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 */

global $post;
if( isset($post) && get_post_meta($post->ID, 'wpex_page_slider_shortcode', true ) !=='' ) { ?>
	<div id="page-slider">
		<?php echo do_shortcode( htmlspecialchars_decode( get_post_meta($post->ID, 'wpex_page_slider_shortcode', true ) ) ); ?>
	</div><!-- /page-slider -->
<?php } ?>