diff --git a/comicpress_manager_admin.php b/comicpress_manager_admin.php
index 1d1505e..78f6632 100644
--- a/comicpress_manager_admin.php
+++ b/comicpress_manager_admin.php
@@ -73,6 +73,17 @@ function cpm_add_pages() {
$do_enqueue_prototype = true;
}
+ if (strpos($pagenow, "post") === 0) {
+ add_meta_box(
+ 'comic-for-this-post',
+ __('Comic For This Post', 'comicpress-manager'),
+ 'cpm_show_comic_caller',
+ 'post',
+ 'normal',
+ 'low'
+ );
+ }
+
$filename = plugin_basename(__FILE__);
if (strpos($plugin_page, $filename) !== false) {
diff --git a/pages/edit_post_show_comic.php b/pages/edit_post_show_comic.php
index ee4bbef..7ea8a6c 100644
--- a/pages/edit_post_show_comic.php
+++ b/pages/edit_post_show_comic.php
@@ -94,112 +94,115 @@ function cpm_show_comic() {
}
});
-
-
-
- comic_files) == 0) { ?>
-
-
It looks like this is a new ComicPress install. You should test to make
- sure uploading works correctly by visiting
ComicPress -> Upload.
-
-
-
-
-
-
-
-
-
-
-
- %s comic subdirectory.", 'comicpress-manager'), get_cat_name(get_option('comicpress-manager-manage-subcomic')));
- }
- ?>
+ comic_files) == 0) { ?>
+
+
It looks like this is a new ComicPress install. You should test to make
+ sure uploading works correctly by visiting
ComicPress -> Upload.
+
+
+
+
+
+
+
+
+
+
+
- 0) { ?>
-
- $file) { ?>
-
-
-
+ %s comic subdirectory.", 'comicpress-manager'), get_cat_name(get_option('comicpress-manager-manage-subcomic')));
+ }
+ ?>
+
+ 0) { ?>
+
+ $file) { ?>
+
-
+
+
+
-
-
ComicPress Manager Edit Post file management is enabled. Any changes to post date, or deleting this post, will affect any associated comic files.
-
+
+
ComicPress Manager Edit Post file management is enabled. Any changes to post date, or deleting this post, will affect any associated comic files.
+
-
NOTE: Upload errors will not be reported. If you are having trouble uploading files, use the ComicPress -> Upload screen.
+
NOTE: Upload errors will not be reported. If you are having trouble uploading files, use the ComicPress -> Upload screen.
-
+