2009-08-21 19:29:45 +00:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
Template Name: Blog
|
|
|
|
*/
|
|
|
|
?>
|
2009-09-03 01:12:30 +00:00
|
|
|
<?php get_header(); ?>
|
|
|
|
|
|
|
|
<?php if (is_cp_theme_style('gn,v3c,v')) { ?>
|
|
|
|
<div id="content-wrapper">
|
|
|
|
<?php } ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
|
|
|
<?php if (is_cp_theme_style('gn,v3c')) get_sidebar('left'); ?>
|
|
|
|
|
|
|
|
<?php if (is_cp_theme_style('v3c,v')) { ?>
|
|
|
|
<div id="content" class="narrowcolumn">
|
|
|
|
<div class="column">
|
|
|
|
<?php } ?>
|
|
|
|
|
2009-09-03 01:12:30 +00:00
|
|
|
<?php if (is_cp_theme_style('gn')) { ?>
|
|
|
|
<div id="pagewrap-right">
|
|
|
|
<?php } ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
|
|
|
<?php if (is_cp_theme_style('3c,standard')) { ?>
|
|
|
|
<div id="content-wrapper">
|
|
|
|
<?php } ?>
|
|
|
|
<?php get_sidebar('overblog'); ?>
|
|
|
|
<?php if (is_cp_theme_style('3c')) get_sidebar('left'); ?>
|
|
|
|
|
|
|
|
<?php if (is_cp_theme_style('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();
|
|
|
|
|
2009-08-28 09:24:22 +00:00
|
|
|
endwhile;
|
|
|
|
|
|
|
|
comicpress_pagination(); ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php get_sidebar('underblog'); ?>
|
|
|
|
</div>
|
2009-09-03 01:12:30 +00:00
|
|
|
</div>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
|
|
|
<?php
|
|
|
|
if (is_cp_theme_style('3c,v3c,gn,standard,v')) {
|
2009-09-03 01:12:30 +00:00
|
|
|
get_sidebar('right'); ?>
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
<?php if (is_cp_theme_style('gn')) { ?>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
|
|
|
<div class="clear"></div>
|
2009-09-03 04:39:23 +00:00
|
|
|
|
2009-08-21 19:29:45 +00:00
|
|
|
</div> <!-- end pageright-wrapper / content-wrapper -->
|
|
|
|
|
2009-08-21 17:45:23 +00:00
|
|
|
<?php get_footer() ?>
|