- ', multiple) ?>
- -
--
- ', multiple) ?>
+ post_title ?> +
++
diff --git a/addons/Core/Core.inc b/addons/Core/Core.inc index 49a8f8c..07cf40e 100644 --- a/addons/Core/Core.inc +++ b/addons/Core/Core.inc @@ -1,11 +1,10 @@ comicpress = $comicpress; } @@ -18,6 +17,14 @@ class ComicPressAddonCore extends ComicPressAddon { } } + function show_comic($override_post) { + global $post; + $post_to_use = (is_null($override_post)) ? $this->comicpress->get_last_comic() : $post; + + $comic_post = new ComicPressComicPost($post_to_use, &$this); + $comic_post->display_comics(); + } + function setup_comic_metadata_buttons($form_fields, $post) { $comic_image_types = array( 'none' => __('Not a comic', 'comicpress'), @@ -159,6 +166,9 @@ class ComicPressAddonCore extends ComicPressAddon { } } break; + case 'blogpost_count': + $this->comicpress->comicpress_options[$option] = (int)$_POST['cp'][$option]; + break; } } } diff --git a/addons/Core/partials/options-admin.inc b/addons/Core/partials/options-admin.inc index c1deea8..d94ebcd 100644 --- a/addons/Core/partials/options-admin.inc +++ b/addons/Core/partials/options-admin.inc @@ -23,6 +23,12 @@ +