예제 #1
0
 * The default template for displaying single page content
 *
 * @package circles
 * @since circles 1.0
 */
?>
<div class='wrapper'>
	<div class='container main'>
						<?php 
ts_get_single_post_sidebar('left');
?>
		<?php 
ts_get_single_post_sidebar('left2');
?>
		<div class='post-area grid_<?php 
echo ts_check_if_any_sidebar(12, 9, 6);
?>
'>
			<div>
				<?php 
if (has_post_thumbnail()) {
    ?>
					<div class='post-img'><?php 
    ts_the_resized_post_thumbnail_sidebar(array('full', 'one-sidebar', 'two-sidebars'), get_the_title());
    ?>
</div>
				<?php 
}
?>
				<?php 
if (get_post_meta(get_the_ID(), 'show_page_content', true) != 'no') {
    case 'twentytwelve':
        echo '<div id="primary" class="site-content"><div role="main">';
        break;
    case 'twentythirteen':
        echo '<div id="primary" class="site-content"><div role="main" class="entry-content twentythirteen">';
        break;
    case 'twentyfourteen':
        echo '<div id="primary" class="content-area">
        <div id="content" class="site-content" role="main"><div class="entry-content">';
        break;
    case 'Circles':
        get_template_part('inc/header-image');
        echo "<div class='wrapper'><div class='container main'>";
        ts_get_single_post_sidebar('left');
        ts_get_single_post_sidebar('left2');
        echo "<div class='post-area  grid_" . ts_check_if_any_sidebar(12, 9, 6) . "'><div>";
        break;
    default:
        echo '<div id="container"><div id="content" role="main">';
        break;
}
?>
    <?php 
if (is_page()) {
    ?>
    <header class="dwqa-page-header">
        <h1 class="dwqa-page-title"><?php 
    the_title();
    ?>
</h1>
    </header>