2009-10-24 14:47:31 +00:00
|
|
|
<?php get_header(); ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-11-02 12:23:41 +00:00
|
|
|
<div id="content-wrapper-head"></div>
|
2009-09-03 01:12:30 +00:00
|
|
|
<div id="content-wrapper">
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-09-15 10:23:54 +00:00
|
|
|
<?php if (is_cp_theme_layout('gn,v3c')) get_sidebar('left'); ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-09-28 21:49:51 +00:00
|
|
|
<?php if (is_cp_theme_layout('gn,rgn')) { ?>
|
2009-09-15 10:23:54 +00:00
|
|
|
<div id="pagewrap-right">
|
|
|
|
<?php } ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-09-15 10:23:54 +00:00
|
|
|
<?php if (is_cp_theme_layout('v3c,v')) { ?>
|
|
|
|
<div id="content" class="narrowcolumn">
|
2009-10-07 09:27:51 +00:00
|
|
|
<div class="column">
|
2009-09-15 10:23:54 +00:00
|
|
|
<?php } ?>
|
|
|
|
|
2009-08-21 19:29:45 +00:00
|
|
|
<?php if (!(is_paged())) { ?>
|
|
|
|
|
2009-08-30 09:42:24 +00:00
|
|
|
<?php if ($disable_comic_frontpage != 'yes') { ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-11-06 02:56:36 +00:00
|
|
|
<?php $wp_query ->in_the_loop = true; $comicFrontpage = new WP_Query(); $comicFrontpage->query('showposts=1&cat='.get_all_comic_categories_as_cat_string());
|
2009-09-03 01:12:30 +00:00
|
|
|
while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?>
|
2009-11-06 02:56:36 +00:00
|
|
|
<?php if (comicpress_check_child_file('partials/displaycomic') == false) { ?>
|
2009-10-11 11:48:57 +00:00
|
|
|
<div id="comic-wrap">
|
2009-09-29 23:12:37 +00:00
|
|
|
<div id="comic-head"><?php get_sidebar('over'); ?></div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
<?php get_sidebar('comicleft'); ?>
|
|
|
|
<div id="comic"><?php display_comic(); ?></div>
|
|
|
|
<?php get_sidebar('comicright'); ?>
|
|
|
|
<div class="clear"></div>
|
|
|
|
<div id="comic-foot"><?php get_sidebar('under'); ?></div>
|
2009-10-11 11:48:57 +00:00
|
|
|
</div>
|
2009-09-29 23:12:37 +00:00
|
|
|
<?php } ?>
|
2009-08-30 09:42:24 +00:00
|
|
|
<?php endwhile; ?>
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
2009-10-06 01:18:30 +00:00
|
|
|
<?php } ?>
|
2009-09-17 22:45:30 +00:00
|
|
|
|
2009-10-06 01:18:30 +00:00
|
|
|
<?php if (is_cp_theme_layout('3c,standard,3c2r')) { ?>
|
2009-09-17 22:45:30 +00:00
|
|
|
<div id="subcontent-wrapper-head"></div>
|
|
|
|
<div id="subcontent-wrapper">
|
|
|
|
<?php } ?>
|
2009-10-02 01:30:23 +00:00
|
|
|
|
2009-08-21 19:29:45 +00:00
|
|
|
<?php get_sidebar('overblog'); ?>
|
2009-09-28 21:49:51 +00:00
|
|
|
<?php if (is_cp_theme_layout('3c,rgn')) get_sidebar('left'); ?>
|
2009-08-21 19:29:45 +00:00
|
|
|
|
2009-10-02 01:30:23 +00:00
|
|
|
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
|
2009-09-15 10:23:54 +00:00
|
|
|
<div id="content" class="narrowcolumn">
|
2009-10-07 09:27:51 +00:00
|
|
|
<div class="column">
|
2009-10-02 01:30:23 +00:00
|
|
|
<?php } ?>
|
2009-10-06 01:18:30 +00:00
|
|
|
|
2009-10-02 01:30:23 +00:00
|
|
|
<?php if (function_exists('the_project_wonderful_ad')) { ?>
|
2009-09-03 01:12:30 +00:00
|
|
|
<div class="blogpwad">
|
|
|
|
<center>
|
|
|
|
<?php the_project_wonderful_ad('blog'); ?>
|
|
|
|
</center>
|
|
|
|
</div>
|
2009-11-06 02:56:36 +00:00
|
|
|
<?php }
|
|
|
|
|
|
|
|
get_sidebar('blog');
|
|
|
|
|
2009-10-07 09:27:51 +00:00
|
|
|
if ($disable_comic_frontpage != 'yes' && $disable_comic_blog_frontpage != 'yes' && !is_paged() ) { ?>
|
2009-11-06 02:56:36 +00:00
|
|
|
<?php while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post();
|
|
|
|
display_comic_post();
|
|
|
|
$comicFrontPage->is_single = true;
|
|
|
|
comments_template();
|
2009-10-06 01:18:30 +00:00
|
|
|
endwhile; ?>
|
2009-10-07 09:27:51 +00:00
|
|
|
<?php } ?>
|
2009-10-06 01:18:30 +00:00
|
|
|
|
2009-10-24 14:47:31 +00:00
|
|
|
<?php if ($disable_blogheader != 'yes') { ?>
|
2009-10-06 01:18:30 +00:00
|
|
|
<div id="blogheader"><!-- This area can be used for a heading above your main page blog posts --></div>
|
2009-10-24 14:47:31 +00:00
|
|
|
<?php } ?>
|
|
|
|
|
2009-11-06 02:56:36 +00:00
|
|
|
<?php if ($disable_blog_frontpage != 'yes') {
|
2009-10-07 09:27:51 +00:00
|
|
|
global $blog_postcount; ?>
|
2009-11-06 02:56:36 +00:00
|
|
|
<?php
|
|
|
|
if ($split_column_in_two != 'yes') {
|
|
|
|
$blog_query = 'showposts='.$blog_postcount.'&cat="-'.exclude_comic_categories().'"&paged='.$paged;
|
|
|
|
|
|
|
|
$posts = query_posts($blog_query);
|
2009-10-21 01:14:59 +00:00
|
|
|
if (have_posts()) { ?>
|
|
|
|
<div class="blogindex-head"></div>
|
|
|
|
<div class="blogindex">
|
2009-11-06 02:56:36 +00:00
|
|
|
<?php while (have_posts()) : the_post();
|
|
|
|
|
|
|
|
display_blog_post();
|
2009-10-07 09:27:51 +00:00
|
|
|
|
2009-10-21 01:14:59 +00:00
|
|
|
endwhile; ?>
|
|
|
|
</div>
|
|
|
|
<div class="blogindex-foot"></div>
|
2009-11-06 02:56:36 +00:00
|
|
|
<?php }
|
|
|
|
comicpress_pagination();
|
2009-11-20 05:02:23 +00:00
|
|
|
} else {
|
2009-11-20 06:03:02 +00:00
|
|
|
comicpress_dual_columns();
|
2009-11-20 05:02:23 +00:00
|
|
|
}
|
2009-08-28 09:24:22 +00:00
|
|
|
} ?>
|
2009-10-07 09:27:51 +00:00
|
|
|
|
2009-10-30 20:32:01 +00:00
|
|
|
<?php get_sidebar('underblog'); ?>
|
|
|
|
|
2009-09-17 22:45:30 +00:00
|
|
|
<?php include(get_template_directory() . '/layout-foot.php'); ?>
|
2009-11-06 02:56:36 +00:00
|
|
|
<?php get_footer() ?>
|