2009-07-11 19:39:05 +00:00
|
|
|
<?php
|
|
|
|
global $comicpress;
|
2009-06-13 11:58:02 +00:00
|
|
|
|
2009-07-11 19:39:05 +00:00
|
|
|
get_header();
|
2009-07-12 23:31:47 +00:00
|
|
|
|
|
|
|
$nav_comics = $comicpress->get_nav_comics();
|
|
|
|
$post = $nav_comics['last'];
|
2009-07-11 19:39:05 +00:00
|
|
|
?>
|
2009-06-13 11:58:02 +00:00
|
|
|
|
2009-07-16 01:34:34 +00:00
|
|
|
<?php if (!is_paged()) { include_partial('index-display-comic'); } ?>
|
2009-07-11 19:39:05 +00:00
|
|
|
|
|
|
|
<div id="content" class="narrowcolumn">
|
2009-07-16 01:34:34 +00:00
|
|
|
<?php if (!is_paged() && ($comicpress->comicpress_options['comic_space'] == "comic_only")) { include_partial('index-comic-post'); } ?>
|
2009-07-13 23:06:32 +00:00
|
|
|
|
2009-07-16 01:34:34 +00:00
|
|
|
<?php include_partial('index-blog-header'); ?>
|
2009-07-13 23:06:32 +00:00
|
|
|
|
|
|
|
<?php
|
|
|
|
$wp_query = new WP_Query();
|
|
|
|
$wp_query->query(
|
|
|
|
'showposts=' .
|
|
|
|
(int)$comicpress->comicpress_options['blogpost_count'] .
|
|
|
|
'&cat=-' .
|
|
|
|
$comicpress->comicpress_options['comic_category_id'] .
|
|
|
|
'&paged=' .
|
|
|
|
$paged
|
|
|
|
);
|
|
|
|
|
|
|
|
while ($wp_query->have_posts()) {
|
|
|
|
$wp_query->the_post();
|
2009-07-16 01:34:34 +00:00
|
|
|
include_partial('index-blog-post');
|
2009-07-13 23:06:32 +00:00
|
|
|
}
|
2009-06-13 11:58:02 +00:00
|
|
|
|
2009-07-16 01:34:34 +00:00
|
|
|
include_partial('index-blog-post');
|
2009-07-13 23:06:32 +00:00
|
|
|
?>
|
2009-06-13 11:58:02 +00:00
|
|
|
</div>
|
|
|
|
|
2009-07-15 21:10:13 +00:00
|
|
|
<?php include(get_template_directory() . '/sidebar.php') ?>
|
2009-06-13 11:58:02 +00:00
|
|
|
|
|
|
|
<?php get_footer() ?>
|