diff --git a/blog.php b/blog.php index 174a445..9c30899 100644 --- a/blog.php +++ b/blog.php @@ -6,9 +6,9 @@ Template Name: Blog - -

+

-

+

'3', - 'blogcat' => '2', + 'blogcat' => '1', 'comic_folder' => 'comics', 'rss_comic_folder' => 'comics-rss', 'archive_comic_folder' => 'comics-archive', 'mini_comic_folder' => 'comics-mini', - 'archive_comic_width' => '480', 'rss_comic_width' => '320', - 'mini_comic_width' => '80', - 'blog_postcount' => '10' + 'archive_comic_width' => '480', + 'mini_comic_width' => '80' ) as $field => $value) { $comicpress_options['comicpress_config'][$field] = $value; } @@ -126,6 +125,7 @@ function comicpress_load_options() { 'cp_theme_layout' => 'standard', 'disable_comic_frontpage' => false, + 'blog_postcount' => '10', 'disable_comic_blog_frontpage' => false, 'disable_comic_blog_single' => false, 'disable_blog_frontpage' => false, @@ -144,7 +144,7 @@ function comicpress_load_options() { 'custom_image_header_width' => '980', 'custom_image_header_height' => '120', - 'enable_numbered_pagination' => false, + 'enable_numbered_pagination' => true, 'disable_page_restraints' => false, 'enable_related_comics' => false, diff --git a/functions/dual-columns.php b/functions/dual-columns.php index 5fb20dc..95152c6 100644 --- a/functions/dual-columns.php +++ b/functions/dual-columns.php @@ -1,11 +1,11 @@ + global $comicpress_options; ?>
-
- diff --git a/options/configoptions.php b/options/configoptions.php index 07f45b9..43dc254 100644 --- a/options/configoptions.php +++ b/options/configoptions.php @@ -139,7 +139,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/options/indexoptions.php b/options/indexoptions.php index 4eebba8..e117cdb 100644 --- a/options/indexoptions.php +++ b/options/indexoptions.php @@ -20,6 +20,15 @@ + + + + + + + + + diff --git a/single.php b/single.php index a480cd0..a331fff 100644 --- a/single.php +++ b/single.php @@ -10,7 +10,7 @@ if (have_posts()) : while (have_posts()) : the_post(); $next_comic = get_next_comic(); $next_comic = (array)$next_comic; $next_date = mysql2date('Y-m-j', $next_comic['post_date']); - $blog_query = 'showposts='.$blog_postcount.'&order=asc&cat=-'.exclude_comic_categories(); + $blog_query = 'showposts='.$comicpress_options['blog_postcount'].'&order=asc&cat=-'.exclude_comic_categories(); } } else { comicpress_display_post(); @@ -25,9 +25,8 @@ if (have_posts()) : while (have_posts()) : the_post();