diff --git a/comicpress-options-config.php b/comicpress-options-config.php index 201759e..f7eda12 100644 --- a/comicpress-options-config.php +++ b/comicpress-options-config.php @@ -254,6 +254,21 @@ $options = array ( "default" => "no", "type" => "comicpress-blogposts_with_comic"), + array( + "id" => "comicpress-split_column_in_two", + "default" => "no", + "type" => "comicpress-split_column_in_two"), + + array( + "id" => "comicpress-author_column_one", + "default" => "1", + "type" => "comicpress-author_column_one"), + + array( + "id" => "comicpress-author_column_two", + "default" => "1", + "type" => "comicpress-author_column_two"), + array("type" => "close") ); ?> \ No newline at end of file diff --git a/functions.php b/functions.php index 282c2b5..ef5d0e0 100644 --- a/functions.php +++ b/functions.php @@ -16,7 +16,7 @@ if (function_exists('id_get_comment_number')) { remove_filter('comments_number','id_get_comment_number'); } -$comicpress_version = '2.8.1.16'; +$comicpress_version = '2.8.1.18'; // Remove the wptexturizer from changing the quotes and squotes. // remove_filter('the_content', 'wpautop'); @@ -102,7 +102,10 @@ if (get_option('upload_path') !== false) { 'excerpt_or_content_search' => 'excerpt_or_content_search', 'category_thumbnail_postcount' => 'category_thumbnail_postcount', 'members_post_category' => 'members_post_category', - 'blogposts_with_comic' => 'blogposts_with_comic' ) as $options => $variable_name) { + 'blogposts_with_comic' => 'blogposts_with_comic', + 'split_column_in_two' => 'split_column_in_two', + 'author_column_one' => 'author_column_one', + 'author_column_two' => 'author_column_two' ) as $options => $variable_name) { $variables_to_extract[$variable_name] = get_option("comicpress-${options}"); } diff --git a/functions/displayblogpost.php b/functions/displayblogpost.php index 0cf6943..97cf231 100644 --- a/functions/displayblogpost.php +++ b/functions/displayblogpost.php @@ -33,10 +33,11 @@ function display_blog_post() {

- By on
+ By on

+
diff --git a/index.php b/index.php index cb97c2b..0ca7714 100644 --- a/index.php +++ b/index.php @@ -11,7 +11,7 @@
-
+
@@ -45,7 +45,7 @@
-
+
@@ -54,36 +54,60 @@
- have_posts()) : $comicFrontpage->the_post(); - + + have_posts()) : $comicFrontpage->the_post(); display_comic_post(); - endwhile; ?> +
- - -if ($disable_blog_frontpage != 'yes') { - if (have_posts()) { - global $blog_postcount; - $blog_query = 'showposts='.$blog_postcount.'&cat=-"'.exclude_comic_categories().'"&paged='.$paged; + + +
+ + View all posts by:
+
+
+ + View all posts by:
+
+
+ +
diff --git a/options/postoptions.php b/options/postoptions.php index 865191b..5e194ba 100644 --- a/options/postoptions.php +++ b/options/postoptions.php @@ -4,6 +4,7 @@ @@ -184,6 +185,58 @@ + + + + + + + + + + + + + + + + + + + + + Moose Mountain
-
\ No newline at end of file + diff --git a/themepack/moosemountain/style.css b/themepack/moosemountain/style.css index c643a1d..973c9f0 100644 --- a/themepack/moosemountain/style.css +++ b/themepack/moosemountain/style.css @@ -15,7 +15,7 @@ http://www.opensource.org/licenses/gpl-3.0.html body { margin: 0; - font-family: 'Arial',sans-serif; + font-family: 'Arial' ,sans-serif; background: #A28366 url('background.png') top repeat-x; color: #572B2A; font-size: 14px; @@ -24,22 +24,22 @@ body { a { color: #000; text-decoration: none; - } - - a:hover { - color: #5e6f29; - } +} - a img { - border: none; - } +a:hover { + color: #5e6f29; +} + +a img { + border: none; +} hr { height: 1px; color: #5e6f29; background-color: #5e6f29; border: 0px; - } +} blockquote { margin: 10px; @@ -47,12 +47,12 @@ blockquote { border-width: 1px 1px 1px 5px; border-style: solid; border-color: #d6e1b4; - } +} - blockquote cite { - margin: 5px 0 0; - display: block; - } +blockquote cite { + margin: 5px 0 0; + display: block; +} /* HEADINGS */ @@ -60,13 +60,13 @@ h1, h1 a, h1 a:hover { margin: 0; padding: 0 0 0 5px; color: #fff; - font-family: 'Georgia', serif; + font-family: 'Georgia' , serif; font-size: 50px; font-weight: normal; text-align: left; text-decoration: none; letter-spacing: -2px; - } +} h2, h2 a { margin: 0; @@ -75,18 +75,18 @@ h2, h2 a { font-size: 22px; text-align: left; text-decoration: none; - } +} - h2.pagetitle, h2.pagetitle a { - margin: 20px 0 0 0; - padding: 0 0 5px 0; - color: #fff; - font-family: 'Georgia', serif; - font-size: 32px; - font-weight: normal; - letter-spacing: -2px; - text-align: left; - } +h2.pagetitle, h2.pagetitle a { + margin: 20px 0 0 0; + padding: 0 0 5px 0; + color: #fff; + font-family: 'Georgia' , serif; + font-size: 32px; + font-weight: normal; + letter-spacing: -2px; + text-align: left; +} h3, h3 a { margin: 30px 10px 0 0; @@ -97,12 +97,12 @@ h3, h3 a { text-align: left; text-decoration: none; clear: both; - } +} h2 a:hover, h3 a:hover { color: #fff; border-bottom: 1px dotted #fff; - } +} @@ -115,68 +115,67 @@ h2 a:hover, h3 a:hover { /* THE HEADER */ #header { -width: 900px; -height: 158px; -background: url('header.png'); + width: 900px; + height: 158px; + background: url('header.png'); } #header h1 { -padding: 0; + padding: 0; } -#header h1 a { -height: 158px; -width: 320px; -padding: 0; -float: left; -display: block; -text-indent: -9999px; +#logo { + height: 158px; + width: 320px; + padding: 0; + float: left; + display: block; + text-indent: -9999px; } .description { -display: none; + display: none; } #menu-rss { -height: 40px; -width: 60px; -display: block; -float: left; -margin: 108px 0 0 320px; -text-indent: -9999px; + height: 40px; + width: 60px; + display: block; + float: left; + margin: 108px 0 0 320px; + text-indent: -9999px; } #menu-rss:hover { -background: url('header.png') -640px -158px; + background: url('header.png') -640px -158px; } #menu-shop { -height: 40px; -width: 80px; -display: block; -float: left; -margin: 108px 0 0 0; -text-indent: -9999px; + height: 40px; + width: 80px; + display: block; + float: left; + margin: 108px 0 0 0; + text-indent: -9999px; } #menu-shop:hover { -background: url('header.png') -700px -158px; + background: url('header.png') -700px -158px; } #menu-contact { -height: 40px; -width: 100px; -display: block; -float: left; -margin: 108px 0 0 0; -text-indent: -9999px; + height: 40px; + width: 100px; + display: block; + float: left; + margin: 108px 0 0 0; + text-indent: -9999px; } #menu-contact:hover { -background: url('header.png') -780px -158px; + background: url('header.png') -780px -158px; } - #content-wrapper { padding: 0; } @@ -193,14 +192,29 @@ background: url('header.png') -780px -158px; } #subcontent-wrapper { - background: #9bae5f; - padding: 5px 0; + background: #9bae5f; + padding: 5px 0; } .narrowcolumn { width: 470px; } +#sidebar-undercomic p { + padding: 5px; + margin-left: 30px; + margin-right: 30px; + background: #d6e1b4; + border: 1px solid #9bae5f; + text-align: center; +} + +.nav, #sidebar-undercomic .post-text, #sidebar-undercomic .post-extras { + display: none; +} + + + /* CALENDAR */ #wp-calendar-wrap { @@ -219,28 +233,28 @@ table#wp-calendar td { #wp-calendar th { color: #5e6f29; - } +} #wp-calendar caption { color: #5e6f29; font-size: 20px; - } +} #wp-calendar td { border: 1px solid #5E6F29; font-size: 12px; - } +} #wp-calendar a { color: #fff; - background: #5e6f29; - } - - #wp-calendar a:hover { - color: #fff; - background: #572b2a; - } - + background: #5e6f29; +} + +#wp-calendar a:hover { + color: #fff; + background: #572b2a; +} + /* Sidebar */ @@ -248,25 +262,25 @@ table#wp-calendar td { margin: 0; padding: 0; list-style: none; - } +} - .sidebar ul li { - padding: 0; - } +.sidebar ul li { + padding: 0; +} - .sidebar ul li ul li { - padding: 0; - } +.sidebar ul li ul li { + padding: 0; +} - .sidebar ul li ul li a { - color: #000; - text-decoration: none; - } +.sidebar ul li ul li a { + color: #000; + text-decoration: none; +} - .sidebar ul li ul li a:hover { - color: #000; - background: #d6e1b4; - } +.sidebar ul li ul li a:hover { + color: #000; + background: #d6e1b4; +} .sidebar-earl a { width: 192px; @@ -274,13 +288,13 @@ table#wp-calendar td { display: block; color: #9bae5f; background: url('earl-extras.jpg') no-repeat; - } - - .sidebar-earl a:hover { - color: #9bae5f; - background-position: 0 -192px; - } - +} + +.sidebar-earl a:hover { + color: #9bae5f; + background-position: 0 -192px; +} + .sidebar-extras a { width: 192px; height: 154px; @@ -288,12 +302,12 @@ table#wp-calendar td { display: block; color: #9bae5f; background: url('earl-extras.jpg') 0 -384px no-repeat; - } +} - .sidebar-extras a:hover { - color: #9bae5f; - background-position: 0 -538px; - } +.sidebar-extras a:hover { + color: #9bae5f; + background-position: 0 -538px; +} /* THE FOOTER */ @@ -301,25 +315,312 @@ table#wp-calendar td { #footer { width: 900px; margin: 0px auto; - padding: 20px 0; + padding: 20px 0; color: #9bae5f; text-align: center; background: #5e6f29; - } +} - #footer a { - color: #fff; - text-decoration: none; - border: none; - } +#footer a { + color: #fff; + text-decoration: none; + border: none; +} - #footer a:hover { - border-bottom: 1px dotted #fff; - } +#footer a:hover { + border-bottom: 1px dotted #fff; +} #footer-ad { width: 900px; margin: 0 auto; padding: 30px 0; text-align: center; +} + +/* CAST PAGE */ + +.cast { + min-height: 120px; + margin: 10px 0; + padding: 20px; + border: 2px solid #5e6f29; + background: #d0dea1; +} + +.cast img { + float: left; + display: block; +} + +.cast h2 { + color: #5e6f29; + padding: 0 0 10px 0; + margin: 0 0 0 130px; +} + +.cast p { + margin: 0 0 0 130px; +} + +/* AUTHOR PAGE */ +/* +.author { + min-height: 120px; + margin: 10px 0; + padding: 20px; + border: 2px solid #5e6f29; + background: #d0dea1; } + + .author img { + float: left; + display: block; + } + + .author h2 { + color: #5e6f29; + padding: 0 0 10px 0; + margin: 0 0 0 130px; + } + + .author p { + margin: 0 0 0 130px; + } +*/ +/* PAGE HEADERS */ + +#header-9 { + width: 900px; + height: 90px; + margin: 0 auto; + background: #9bae5f url('extras_header.jpg') no-repeat; +} + +#header-16 { + width: 900px; + height: 90px; + margin: 0 auto; + background: #9bae5f url('advertise_header.jpg') no-repeat; +} + +#header-14 { + width: 900px; + height: 90px; + margin: 0 auto; + background: #9bae5f url('banner_header.jpg') no-repeat; +} + +#header-13 { + width: 900px; + height: 90px; + margin: 0 auto; + background: #9bae5f url('donate_header.jpg') no-repeat; +} + +#header-12 { + width: 900px; + height: 90px; + margin: 0 auto; + background: #9bae5f url('links_header.jpg') no-repeat; +} + +#header-10 { + width: 900px; + height: 90px; + margin: 0 auto; + background: #9bae5f url('cast_header.jpg') no-repeat; +} + +#header-18 { + width: 900px; + height: 90px; + margin: 0 auto; + background: #9bae5f url('author_header.jpg') no-repeat; +} + +/* SIDEBAR */ + +.sidebar-earl a { + width: 192px; + height: 192px; + display: block; + color: #9bae5f; + background: url('earl-extras.jpg') no-repeat; +} + +.sidebar-earl a:hover { + color: #9bae5f; + background-position: 0 -192px; +} + +.sidebar-extras a { + width: 192px; + height: 154px; + line-height: 154px; + display: block; + color: #9bae5f; + background: url('earl-extras.jpg') 0 -384px no-repeat; +} + +.sidebar-extras a:hover { + color: #9bae5f; + background-position: 0 -538px; +} + +/* ARCHIVE */ + +.comicarchiveframe { + margin: 20px 0 10px 0; + padding: 5px 10px 5px 10px; + border-width: 1px; + border-style: solid; + border-color: #572b2a; + background: #fff; + filter: alpha(opacity=99); + -moz-opacity: 0.99; + opacity: 0.99; +} + +.comicarchiveframe h3 { + margin: 0; + color: #5e6f29; +} + +.comicarchiveframe small { + display: block; +} + +.comicarchiveframe:hover { + filter: alpha(opacity=50); + -moz-opacity: 0.50; + opacity: 0.50; +} + +/* COMMENTS */ + +.comment-wrapper { + padding: 0 20px; +} + +.comment-wrapper h3 { + margin: 0; + padding: 20px 0 0 0; + color: #5e6f29; + font-family: 'Georgia' , serif; + font-weight: normal; + font-size: 24px; + letter-spacing: -1px; + clear: both; +} + +.bigballoon { + color: #ccc; + font-family: 'Webdings' , fantasy; + font-size: 28px; +} + +.comment-wrapper a { + text-decoration: none; + border-bottom: 1px dotted #5e6f29; +} + +.comment-wrapper a:hover { + color: #5e6f29; + border-bottom: 1px solid #5e6f29; +} + +.comment-wrapper p { + margin: 10px 0 0 0; +} + +.avatar { + margin: 0 10px 10px 0; + padding: 5px; + float: left; + border: 1px solid #5e6f29; + -moz-border-radius: 3px; + -khtml-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; +} + +#comment, #author, #email, #url { + padding: 2px; + color: #000; + font-family: 'Verdana' , sans-serif; + font-size: 12px; + background: #d6e1b4; + border: 1px solid #5e6f29; + -moz-border-radius: 6px; + -khtml-border-radius: 6px; + -webkit-border-radius: 6px; + border-radius: 6px; +} + +#comment:hover, #author:hover, #email:hover, #url:hover, #comment:focus, #author:focus, #email:focus, #url:focus { + background: #fff; +} + +#comment { + width: 100%; +} + +#author, #email, #url { + width: 200px; +} + +ol.commentlist { + margin: 0; + padding: 0; + font-size: 11px; + list-style: none; +} + +.commentlist li { + padding: 20px 0 0 0; + clear: both; +} + + + + +/* THE BLOG HEADER */ + +#blogheader { + height: 95px; + margin: 0 0 20px 0; + padding: 10px 0 0 20px; + color: #aaa; + font-family: 'Georgia' , serif; + font-size: 36px; + letter-spacing: -3px; + background: url('bloglog.jpg') center center no-repeat; + border: 0px; +} + +.button, .button a { + margin: 0 0 20px 0; + padding: 0 5px; + float: right; + color: #fff; + background: #5e6f29; + font-family: 'Verdana' , sans-serif; + font-size: 12px; + border-width: 2px; + border-style: solid; + border-color: #fff; + -moz-border-radius: 10px; + -khtml-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; +} + +.button:hover { + cursor: pointer; + background: #9bae5f; +} + +.userpage-info { + padding-left: 10px; +} diff --git a/widgets/comicblogpost.php b/widgets/comicblogpost.php index 5911cfa..cd0cabd 100644 --- a/widgets/comicblogpost.php +++ b/widgets/comicblogpost.php @@ -4,7 +4,7 @@ Widget Name: Comic Blog Post Widget URI: http://comicpress.org/ Description: Display's the comic's blog post. Author: Philip M. Hofer (Frumph) -Version: 1.01 +Version: 1.04 Author URI: http://webcomicplanet.com/ */ @@ -12,8 +12,8 @@ Author URI: http://webcomicplanet.com/ class widget_comicpress_comic_blog_post extends WP_Widget { function widget_comicpress_comic_blog_post() { - $widget_ops = array('classname' => 'widget_comicpress_comic_blog_post', 'description' => __('Displays the comic blog post, ..used to be around the comic areas. Does not show if there is no content.','comicpress') ); - $this->WP_Widget('comic_blog_post', __('Comic Blog Post','comicpress'), $widget_ops); + $widget_ops = array('classname' => 'widget_comicpress_comic_blog_post', 'description' => 'Displays the comic blog post, ..used to be around the comic areas.' ); + $this->WP_Widget('comic_blog_post', 'Comic Blog Post', $widget_ops); } function widget($args, $instance) { @@ -23,7 +23,7 @@ class widget_comicpress_comic_blog_post extends WP_Widget { if (!empty($post->post_content)) { echo $before_widget; $title = empty($instance['title']) ? '' : apply_filters('widget_title', $instance['title']); - if ( !empty( $title ) ) { echo $title; } + if ( !empty( $title ) ) { echo '
'.$title.'
'; } display_comic_post(); echo $after_widget; @@ -41,7 +41,7 @@ class widget_comicpress_comic_blog_post extends WP_Widget { $instance = wp_parse_args( (array) $instance, array( 'title' => '' ) ); $title = strip_tags($instance['title']); ?> -

+



+ +    + + + +


+ +


+ +