diff --git a/comicpress-options-config.php b/comicpress-options-config.php index 31f1664..e728b7c 100644 --- a/comicpress-options-config.php +++ b/comicpress-options-config.php @@ -133,7 +133,28 @@ $options = array ( "id" => "comicpress-disable_css_style_editor", "default" => "no", "type" => "comicpress-disable_css_style_editor"), + + array( + "id" => "comicpress-enable_post_calendar", + "default" => "no", + "type" => "comicpress-enable_post_calendar"), + array( + "id" => "comicpress-enable_post_author_gravatar", + "default" => "no", + "type" => "comicpress-enable_post_author_gravatar"), + + array( + "id" => "comicpress-enable_comic_post_calendar", + "default" => "no", + "type" => "comicpress-enable_comic_post_calendar"), + + array( + "id" => "comicpress-enable_comic_post_author_gravatar", + "default" => "no", + "type" => "comicpress-enable_comic_post_author_gravatar"), + + array("type" => "close") ); ?> \ No newline at end of file diff --git a/comicpress-options.php b/comicpress-options.php index ef2d9b2..3bb7efb 100644 --- a/comicpress-options.php +++ b/comicpress-options.php @@ -302,6 +302,56 @@ function comicpress_admin() { + + Add graphic calendar to blog posts?

Enabling this option will display a calendar image on your posts. + + +    + + + + + + + Display a gravatar of the post author on blog posts?

Enabling this option will show a gravatar of the post author based on the authors email. + + +    + + + + + + + Add graphic calendar to comic posts?

Enabling this option will display a calendar image on your posts. + + +    + + + + + + + Display a gravatar of the post author on comic posts?

Enabling this option will show a gravatar of the post author based on the authors email. + + +    + + + + + Disable the styling in ComicPress CSS Editor?

This will let you disable the colored, styling CSS editor and be a normal form.
@@ -313,6 +363,7 @@ function comicpress_admin() { diff --git a/functions.php b/functions.php index b0b2601..d6ab8af 100644 --- a/functions.php +++ b/functions.php @@ -63,6 +63,10 @@ if (get_option('upload_path') !== false) { 'comic_clicks_next' => 'comic_clicks_next', 'anomaly_says' => 'anomaly_says', 'disable_css_style_editor' => 'disable_css_style_editor', + 'enable_post_calendar' => 'enable_post_calendar', + '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', '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 9811b2d..01a45fb 100644 --- a/functions/displayblogpost.php +++ b/functions/displayblogpost.php @@ -7,7 +7,7 @@ */ function display_blog_post() { - global $post, $wp_query, $authordata, $enable_related_posts; + global $post, $wp_query, $authordata, $enable_related_posts, $enable_post_author_gravatar, $enable_post_calendar; if (is_single()) { ?>