66 lines
1.4 KiB
PHP
66 lines
1.4 KiB
PHP
<?php
|
|
/*
|
|
Template Name: Blog
|
|
*/
|
|
?>
|
|
<?php get_header(); ?>
|
|
|
|
<?php if (is_cp_theme_layout('gn,v3c,v')) { ?>
|
|
<div id="content-wrapper-top"></div>
|
|
<div id="content-wrapper">
|
|
<?php } ?>
|
|
|
|
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
|
|
|
|
<?php if (is_cp_theme_layout('v3c,v')) { ?>
|
|
<div id="content" class="narrowcolumn">
|
|
<div class="column">
|
|
<?php } ?>
|
|
|
|
<?php if (is_cp_theme_layout('gn')) { ?>
|
|
<div id="pagewrap-right">
|
|
<?php } ?>
|
|
|
|
<?php if (is_cp_theme_layout('3c,standard')) { ?>
|
|
<div id="content-wrapper-top"></div>
|
|
<div id="content-wrapper">
|
|
<?php } ?>
|
|
<?php get_sidebar('overblog'); ?>
|
|
<?php if (is_cp_theme_layout('3c')) get_sidebar('left'); ?>
|
|
|
|
<?php if (is_cp_theme_layout('gn,standard,3c')) { ?>
|
|
<div id="content" class="narrowcolumn">
|
|
<div class="column">
|
|
<?php }
|
|
|
|
if (have_posts()):
|
|
|
|
$blog_query = '&cat=-"'.exclude_comic_categories().'"&paged='.$paged;
|
|
|
|
$posts = query_posts($blog_query);
|
|
while (have_posts()) : the_post();
|
|
|
|
display_blog_post();
|
|
|
|
endwhile;
|
|
|
|
comicpress_pagination(); ?>
|
|
|
|
<?php endif; ?>
|
|
<?php get_sidebar('underblog'); ?>
|
|
</div>
|
|
</div>
|
|
|
|
<?php
|
|
if (is_cp_theme_layout('3c,v3c,gn,standard,v')) {
|
|
get_sidebar('right'); ?>
|
|
<?php } ?>
|
|
|
|
<?php if (is_cp_theme_layout('gn')) { ?>
|
|
</div>
|
|
<?php } ?>
|
|
|
|
<div class="clear"></div>
|
|
</div>
|
|
<div id="content-wrapper-bottom"></div>
|
|
<?php get_footer() ?>
|