From 999c661192ba1b11494312533af96d9e216b090c Mon Sep 17 00:00:00 2001 From: "Philip M. Hofer (Frumph)" Date: Sat, 24 Oct 2009 07:47:31 -0700 Subject: [PATCH] New option to remove the #blogheader Signed-off-by: Philip M. Hofer (Frumph) --- comicpress-options-config.php | 5 +++++ functions.php | 3 ++- index.php | 10 ++++++++-- options/indexoptions.php | 10 ++++++++++ single.php | 4 ++-- themepack/slickblack/style.css | 6 +++--- themepack/spacecase/notes.php | 4 ++-- 7 files changed, 32 insertions(+), 10 deletions(-) diff --git a/comicpress-options-config.php b/comicpress-options-config.php index 89e3c79..ee10fc4 100644 --- a/comicpress-options-config.php +++ b/comicpress-options-config.php @@ -279,6 +279,11 @@ $options = array ( "default" => "no", "type" => "comicpress-disable_default_menubar"), + array( + "id" => "comicpress-disable_blogheader", + "default" => "no", + "type" => "comicpress-disable_blogheader"), + array("type" => "close") ); ?> \ No newline at end of file diff --git a/functions.php b/functions.php index 1b9b9ef..260f8c4 100644 --- a/functions.php +++ b/functions.php @@ -100,7 +100,8 @@ if (get_option('upload_path') !== false) { 'author_column_one' => 'author_column_one', 'author_column_two' => 'author_column_two', 'remove_wptexturize' => 'remove_wptexturize', - 'disable_default_menubar' => 'disable_default_menubar' ) as $options => $variable_name) { + 'disable_default_menubar' => 'disable_default_menubar', + 'disable_blogheader' => 'disable_blogheader' ) as $options => $variable_name) { $variables_to_extract[$variable_name] = get_option("comicpress-${options}"); } diff --git a/index.php b/index.php index be6b24e..f5dc81b 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,4 @@ - +
@@ -61,12 +61,18 @@ if ($disable_comic_frontpage != 'yes' && $disable_comic_blog_frontpage != 'yes' && !is_paged() ) { ?> have_posts()) : $comicFrontpage->the_post(); display_comic_post(); + $comicFrontPage->is_single = true; + comments_template(); endwhile; ?> +
- + + + + diff --git a/options/indexoptions.php b/options/indexoptions.php index 016742a..d20c25e 100644 --- a/options/indexoptions.php +++ b/options/indexoptions.php @@ -62,6 +62,16 @@ + + +


+ + +    +
+ + - - + +
diff --git a/themepack/slickblack/style.css b/themepack/slickblack/style.css index 22fce4f..5c58aa8 100644 --- a/themepack/slickblack/style.css +++ b/themepack/slickblack/style.css @@ -72,13 +72,13 @@ h1, h1 a, h2, h2 a, h3, h3 a { } .narrowcolumn { - width: 546px; + width: 536px; background: #333; border: solid 1px #000; } -.layout-standard .narrowcolumn, .layout-3c2r .narrowcolumn, .layout-v .narrowcolumn { - width: 551px; +.layout-standard .narrowcolumn, .layout-v .narrowcolumn { + width: 541px; margin-left: 5px; } diff --git a/themepack/spacecase/notes.php b/themepack/spacecase/notes.php index e3070db..2d1e36e 100644 --- a/themepack/spacecase/notes.php +++ b/themepack/spacecase/notes.php @@ -1,7 +1,7 @@ ThemePack: spacecase
Author: Philip M. Hofer (Frumph)
-Layouts: standard, 3c, gn, v, v3c
+Version: 1.0.1

Installation Notes:
-SciFi Buttons. +Use SciFi Buttons.