示例#1
0
        the_title();
        ?>
</h1>
					<?php 
    }
    ?>
					<?php 
    the_post();
    ?>
					<?php 
    the_content();
    ?>
				</div>
				
				<?php 
    snpshpwp_get_sidebar('page', 'sidebar-page', $snpshpwp_data['sidebar-size'], '0');
    ?>
				<?php 
    if ($snpshpwp_data['enable_comments'] == 1) {
        comments_template();
    }
    ?>
				<?php 
} else {
    ?>
				<div id="snpshpwp_inner_content" <?php 
    post_class(snpshpwp_get_class('content', 'sidebar-page', $snpshpwp_data['sidebar-size'], $snpshpwp_data['sidebar-page-position']));
    ?>
>
					<?php 
    _e('No posts.', 'snpshpwp');
示例#2
0
		<?php 
}
?>

	<?php 
echo '</div>';
?>

	<?php 
/**
 * woocommerce_sidebar hook
 *
 * @hooked woocommerce_get_sidebar - 10
 */
if ($snpshpwp_data['sidebar-woo-position'] == 0) {
    snpshpwp_get_sidebar('woo', 'sidebar-woo', $snpshpwp_data['sidebar-woo-size'], '0');
}
?>

	<?php 
/**
 * woocommerce_after_main_content hook
 *
 * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
 */
do_action('woocommerce_after_main_content');
?>

<?php 
get_footer('shop');
示例#3
0
					</div>
				</div>
			<div class="clearfix"></div>
			<?php 
    echo snpshpwp_pagination($wp_query->max_num_pages, $paged, 2, 'no');
    ?>
			</div>
			<?php 
} else {
    ?>
			<div id="snpshpwp_inner_content" class="<?php 
    echo snpshpwp_get_class('content', 'sidebar-blog', $snpshpwp_data['sidebar-size'], $snpshpwp_data['sidebar-blog-position']);
    ?>
">
				<?php 
    printf('<h1 class="snpshpwp_page_title">%1$s</h1><h3>%2$s</h3>', __('NO POSTS FOUND', 'snpshpwp'), __('There are no posts within the search criteria.', 'snpshpwp'));
    ?>
			<div class="clearfix"></div>
			</div>
			<?php 
}
?>
			<?php 
snpshpwp_get_sidebar('blog', 'sidebar-blog', $snpshpwp_data['sidebar-size'], '0');
?>
		</div>
		</div>

	</div>
<?php 
get_footer();
示例#4
0
					<?php 
    }
    ?>

					</div>
				</div>
				</div>
			<?php 
} else {
    ?>
			<div id="snpshpwp_inner_content" <?php 
    post_class(snpshpwp_get_class('content', 'sidebar-single', $snpshpwp_data['sidebar-size'], $snpshpwp_data['sidebar-single-position']));
    ?>
>
				<?php 
    printf('<h1 class="snpshpwp_page_title">%1$s</h1><h3>%2$s</h3>', __('NO POSTS FOUND', 'snpshpwp'), __('There are no posts within the criteria.', 'snpshpwp'));
    ?>
			<div class="clearfix"></div>
			</div>
			<?php 
}
?>
			<?php 
snpshpwp_get_sidebar('single', 'sidebar-single', $snpshpwp_data['sidebar-size'], '0');
?>
		</div>
	</div>
	</div>

<?php 
get_footer();