diff --git a/comicpress-options-config.php b/comicpress-options-config.php index e728b7c..1279b27 100644 --- a/comicpress-options-config.php +++ b/comicpress-options-config.php @@ -154,6 +154,16 @@ $options = array ( "default" => "no", "type" => "comicpress-enable_comic_post_author_gravatar"), + array( + "id" => "comicpress-disable_tags_in_posts", + "default" => "no", + "type" => "comicpress-disable_tags_in_posts"), + + array( + "id" => "comicpress-disable_categories_in_posts", + "default" => "no", + "type" => "comicpress-disable_categories_in_posts"), + array("type" => "close") ); diff --git a/comicpress-options.php b/comicpress-options.php index 3bb7efb..25ccd5b 100644 --- a/comicpress-options.php +++ b/comicpress-options.php @@ -351,6 +351,30 @@ function comicpress_admin() { + + Disable showing categories in posts?

+ + +    + + + + + + + Disable showing tags in posts?

+ + +    + + + + + diff --git a/functions.php b/functions.php index d6ab8af..1fe52d2 100644 --- a/functions.php +++ b/functions.php @@ -67,6 +67,8 @@ if (get_option('upload_path') !== false) { 'enable_post_author_gravatar' => 'enable_post_author_gravatar', 'enable_comic_post_calendar' => 'enable_comic_post_calendar', 'enable_comic_post_author_gravatar' => 'enable_comic_post_author_gravatar', + 'disable_tags_in_posts' => 'disable_tags_in_posts', + 'disable_categories_in_posts' => 'disable_categories_in_posts', 'contact_in_menubar' => 'contact_in_menubar' ) as $options => $variable_name) { $variables_to_extract[$variable_name] = get_option("comicpress-${options}"); } diff --git a/functions/displayblogpost.php b/functions/displayblogpost.php index 01a45fb..fa8c239 100644 --- a/functions/displayblogpost.php +++ b/functions/displayblogpost.php @@ -28,8 +28,10 @@ function display_blog_post() {

- - By on
- - Subject:
+ By on
+ + Posted In:
+
@@ -39,9 +41,11 @@ function display_blog_post() {
-
+ +
'); ?> -
+
+ diff --git a/functions/displaycomicpost.php b/functions/displaycomicpost.php index aa9989b..40499ff 100644 --- a/functions/displaycomicpost.php +++ b/functions/displaycomicpost.php @@ -7,7 +7,7 @@ */ function display_comic_post() { - global $post, $wp_query, $transcript_in_posts, $enable_related_comics, $enable_comic_post_author_gravatar, $enable_comic_post_calendar; + global $post, $wp_query, $transcript_in_posts, $enable_related_comics, $enable_comic_post_author_gravatar, $enable_comic_post_calendar, $disable_categories_in_posts, $disable_tags_in_posts; $first_comic = get_first_comic_permalink(); $last_comic = get_last_comic_permalink(); ?>
+ +
+ '); ?> +
+
- '); ?> + '); ?>