2009-08-21 19:29:45 +00:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
Template Name: Blog
|
|
|
|
*/
|
|
|
|
?>
|
2009-09-03 01:12:30 +00:00
|
|
|
<?php get_header(); ?>
|
2009-09-17 22:45:30 +00:00
|
|
|
<?php include(get_template_directory() . '/layout-head.php'); ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-10-11 11:48:57 +00:00
|
|
|
<?php global $blog_postcount;
|
|
|
|
if ($split_column_in_two != 'yes') {
|
|
|
|
$blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&paged='.$paged;
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-10-11 11:48:57 +00:00
|
|
|
$posts = query_posts($blog_query);
|
|
|
|
if (have_posts()) {
|
2009-08-28 09:24:22 +00:00
|
|
|
|
2009-10-11 11:48:57 +00:00
|
|
|
while (have_posts()) : the_post();
|
|
|
|
|
|
|
|
display_blog_post();
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-10-11 11:48:57 +00:00
|
|
|
endwhile;
|
|
|
|
|
|
|
|
}
|
|
|
|
comicpress_pagination();
|
|
|
|
} else { ?>
|
|
|
|
<div id="dualcolumns">
|
|
|
|
<div class="column_one">
|
|
|
|
<div class="column_one_header"></div>
|
|
|
|
<?php $blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&author='.$author_column_one.'&paged='.$paged;
|
|
|
|
$posts = query_posts($blog_query);
|
|
|
|
if (have_posts()) {
|
|
|
|
while (have_posts()) : the_post();
|
|
|
|
display_blog_post();
|
|
|
|
endwhile;
|
|
|
|
} ?>
|
|
|
|
<span class="viewpostsbyone">View all posts by: <?php the_author_posts_link(); ?><span><br />
|
|
|
|
</div>
|
|
|
|
<div class="column_two">
|
|
|
|
<div class="column_two_header"></div>
|
|
|
|
<?php $blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&author='.$author_column_two;
|
|
|
|
$posts = query_posts($blog_query);
|
|
|
|
if (have_posts()) {
|
|
|
|
while (have_posts()) : the_post();
|
|
|
|
display_blog_post();
|
|
|
|
endwhile;
|
|
|
|
} ?>
|
|
|
|
<span class="viewpostsbytwo">View all posts by: <?php the_author_posts_link(); ?></span><br />
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
2009-09-15 10:23:54 +00:00
|
|
|
<?php get_sidebar('underblog'); ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
</div>
|
2009-09-03 01:12:30 +00:00
|
|
|
</div>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-09-17 22:45:30 +00:00
|
|
|
<?php include(get_template_directory() . '/layout-foot.php'); ?>
|
2009-08-21 17:45:23 +00:00
|
|
|
<?php get_footer() ?>
|