From a73d8fdc8aad5d4aca9f5fd44fa096ecddca8b58 Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Fri, 25 Dec 2009 12:06:24 -0800 Subject: [PATCH] Layout Fix for the narrowcolumn when fixnig the v3cr Signed-off-by: Philip M. Hofer (Frumph) --- functions.php | 10 +++++----- layout-head.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/functions.php b/functions.php index 5736a1c..c7dc854 100644 --- a/functions.php +++ b/functions.php @@ -1,7 +1,5 @@ 'standard', + 'disable_comic_frontpage' => false, 'disable_comic_blog_frontpage' => false, 'disable_comic_blog_single' => false, @@ -211,11 +212,10 @@ function comicpress_load_options() { } function is_cp_theme_layout($choices) { - global $comicpress_options; + $comicpress_options = comicpress_load_options(); $choices = explode(",", $choices); foreach ($choices as $choice) { - - if ($choice == $comicpress_options['cp_theme_layout']) { + if ($comicpress_options['cp_theme_layout'] == $choice) { return true; } } diff --git a/layout-head.php b/layout-head.php index 7319426..32bdf81 100644 --- a/layout-head.php +++ b/layout-head.php @@ -14,7 +14,7 @@
- +