comicpress-2.8/blog.php

30 lines
669 B
PHP
Raw Normal View History

<?php
/*
Template Name: Blog
*/
?>
<?php get_header(); ?>
<?php include(get_template_directory() . '/layout-head.php'); ?>
<?php
if (!$comicpress_options['split_column_in_two']) {
$blog_query = 'showposts='.$comicpress_options['blog_postcount'].'&cat="-'.exclude_comic_categories().'"&paged='.$paged;
$posts = query_posts($blog_query);
if (have_posts()) {
while (have_posts()) : the_post();
comicpress_display_post();
endwhile;
}
comicpress_pagination();
2009-11-20 05:02:23 +00:00
} else {
comicpress_dual_columns();
2009-11-20 05:02:23 +00:00
} ?>
<?php get_sidebar('underblog'); ?>
<?php include(get_template_directory() . '/layout-foot.php'); ?>
2009-08-21 17:45:23 +00:00
<?php get_footer() ?>