diff --git a/comicpress-debug.php b/comicpress-debug.php index 9f1d07c..9eae87c 100644 --- a/comicpress-debug.php +++ b/comicpress-debug.php @@ -1,9 +1,9 @@ ID); - if (count(array_intersect($comic_categories, wp_get_post_categories($post->ID))) > 0) { - $founderror = TRUE; + if (in_comic_category()) { + $founderrorpostlist .= ''.get_the_title().'
'; + $founderror = true; } endwhile; } -// if ($founderror) { - $error[] = array('header', __('A post is in both a comic category and blog category.','comicpress')); - $error[] = __('*duel category error message and fix*','comicpress'); -// } + if ($founderror) { + $error[] = array('header', __('Post\'s are in both a comic category and blog category.','comicpress')); + $error[] = __('The following posts are set both in a comic category and a blog category, with ComicPress the designations of categories is very important. The rule of thumb is to make sure that all posts are only in a single category. If a post is in both the comic category and blog category there will be issues with both navigation and execution of the ComicPress code.','comicpress'); + $error[] = $founderrorpostlist; + } } if (!empty($error)) { @@ -65,8 +64,6 @@ function comicpress_notice_debug() { ComicPress doesn't seem to be fully installed at this time, check out these messages.

'29.95', 'buy_print_add_shipping' => false, 'buy_print_us_ship' => '4.95', - 'buy_print_int_ship' => '9.95' + 'buy_print_int_ship' => '9.95', + + 'enable_comicpress_debug' => true, + 'enable_full_post_check' => false + ) as $field => $value) { $comicpress_options[$field] = $value; } diff --git a/options/generaloptions.php b/options/generaloptions.php index 56688cf..c84e954 100644 --- a/options/generaloptions.php +++ b/options/generaloptions.php @@ -152,6 +152,32 @@ + + + + + + + + + + + + + + + + + +
+ /> + + +
+ /> + + +