Example #1
0
/**
 * The template for displaying all pages.
 */
get_header();
do_action('sp_start_content_wrap_html');
?>
    <div id="main" class="main">
		<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>

			<?php 
        echo sp_post_type_sub_nav('room');
        ?>

			<?php 
        echo sp_sliders(1, $post->ID, 'post-slider');
        ?>
			
			<article id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class();
        ?>
>
				<header class="entry-header">
					<h1 class="entry-title"><?php 
/**
 * The template for displaying all pages.
 */
get_header();
do_action('sp_start_content_wrap_html');
?>
    <div id="main" class="main">
		<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>

			<?php 
        echo sp_post_type_sub_nav('facility');
        ?>

			<?php 
        echo sp_sliders(1, $post->ID, 'post-slider');
        ?>
			
			<article id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class();
        ?>
>
				<header class="entry-header">
					<h1 class="entry-title"><?php