Deprecated .column is being removed for good, and layout-head.php fix for proper logic.
Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
This commit is contained in:
parent
a68e5258d1
commit
bae1436fc1
|
@ -17,28 +17,28 @@
|
|||
<?php if (is_cp_theme_layout('v,v3c')) { ?>
|
||||
<div id="content" class="narrowcolumn">
|
||||
<?php get_sidebar('overblog'); ?>
|
||||
<div class="column">
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
if (!$comicpress_options['disable_comic_frontpage'] && is_home()) {
|
||||
Protect();
|
||||
$comic_query = 'showposts=1&cat='.get_all_comic_categories_as_cat_string();
|
||||
$posts = query_posts($comic_query);
|
||||
if (have_posts()) {
|
||||
while (have_posts()) : the_post();
|
||||
global $frontpage_postnum;
|
||||
$frontpage_postnum = $post->ID;
|
||||
$wp_query->is_single = true;
|
||||
comicpress_display_comic_area();
|
||||
endwhile;
|
||||
if (is_home()) {
|
||||
|
||||
if (!$comicpress_options['disable_comic_frontpage']) {
|
||||
$comic_query = 'showposts=1&cat='.get_all_comic_categories_as_cat_string();
|
||||
query_posts($comic_query);
|
||||
if (have_posts()) {
|
||||
while (have_posts()) : the_post();
|
||||
$temp_single = $wp_query->is_single;
|
||||
$wp_query->is_single = true;
|
||||
comicpress_display_comic_area();
|
||||
$wp_query->is_single = $temp_single;
|
||||
$temp_single = null;
|
||||
endwhile;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (is_single() && in_comic_category()) {
|
||||
comicpress_display_comic_area();
|
||||
}
|
||||
Restore();
|
||||
UnProtect();
|
||||
wp_reset_query();
|
||||
}
|
||||
if (is_single() & in_comic_category()) {
|
||||
comicpress_display_comic_area();
|
||||
}
|
||||
?>
|
||||
|
||||
|
@ -57,7 +57,6 @@
|
|||
<?php if (!is_cp_theme_layout('v3c,v')) { ?>
|
||||
<div id="content" class="narrowcolumn">
|
||||
<?php get_sidebar('overblog'); ?>
|
||||
<div class="column">
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue