diff --git a/comicpress-options-config.php b/comicpress-options-config.php index a9258a7..201759e 100644 --- a/comicpress-options-config.php +++ b/comicpress-options-config.php @@ -249,7 +249,11 @@ $options = array ( "default" => "", "type" => "comicpress-members_post_category"), - + array( + "id" => "comicpress-blogposts_with_comic", + "default" => "no", + "type" => "comicpress-blogposts_with_comic"), + array("type" => "close") ); ?> \ No newline at end of file diff --git a/functions.php b/functions.php index 8372fee..0c54c28 100644 --- a/functions.php +++ b/functions.php @@ -88,7 +88,8 @@ if (get_option('upload_path') !== false) { 'excerpt_or_content_archive' => 'excerpt_or_content_archive', 'excerpt_or_content_search' => 'excerpt_or_content_search', 'category_thumbnail_postcount' => 'category_thumbnail_postcount', - 'members_post_category' => 'members_post_category' ) as $options => $variable_name) { + 'members_post_category' => 'members_post_category', + 'blogposts_with_comic' => 'blogposts_with_comic' ) as $options => $variable_name) { $variables_to_extract[$variable_name] = get_option("comicpress-${options}"); } diff --git a/index.php b/index.php index e3e0a0c..7801c18 100644 --- a/index.php +++ b/index.php @@ -20,15 +20,15 @@ in_the_loop = true; $comicFrontpage = new WP_Query(); $comicFrontpage->query('showposts=1&cat='.get_all_comic_categories_as_cat_string()); while ($comicFrontpage->have_posts()) : $comicFrontpage->the_post() ?> - -
- - - - - - - + + + + + + + + + diff --git a/options/postoptions.php b/options/postoptions.php index 17e02e5..a4d36f1 100644 --- a/options/postoptions.php +++ b/options/postoptions.php @@ -170,6 +170,20 @@ + +