comicpress-core/index.php

30 lines
654 B
PHP
Raw Normal View History

<?php
global $comicpress;
2009-06-13 11:58:02 +00:00
2009-07-20 01:29:43 +00:00
comicpress_init();
2009-07-12 23:31:47 +00:00
$nav_comics = $comicpress->get_nav_comics();
2009-07-20 22:27:05 +00:00
$t = $post;
2009-07-12 23:31:47 +00:00
$post = $nav_comics['last'];
2009-06-13 11:58:02 +00:00
2009-07-20 01:29:43 +00:00
ob_start();
if (!is_paged()) { include_partial('index-display-comic'); }
2009-07-13 23:06:32 +00:00
2009-07-20 01:29:43 +00:00
$comic = ob_get_clean();
2009-07-13 23:06:32 +00:00
2009-07-20 01:29:43 +00:00
ob_start();
2009-06-13 11:58:02 +00:00
2009-07-20 01:29:43 +00:00
if (!is_paged() && ($comicpress->comicpress_options['comic_space'] == "comic_only")) { include_partial('index-comic-post'); }
2009-06-13 11:58:02 +00:00
2009-07-20 01:29:43 +00:00
include_partial('index-blog-header');
foreach ($comicpress->get_index_blog_posts() as $post) {
include_partial('index-blog-post');
}
$content = ob_get_clean();
2009-07-20 22:27:05 +00:00
$post = $t;
2009-07-20 01:29:43 +00:00
include(get_template_directory() . '/layouts/classic.php');
?>