From 1f64bda199046d5e0472c63eec3d5edb442bb4e6 Mon Sep 17 00:00:00 2001 From: John Janus Date: Sun, 6 Mar 2016 22:57:33 +0100 Subject: [PATCH] started to add meta fields to add show needs to be saved and shown on page --- wp-presale-plugin.php | 13 +++++++++++++ wp-show-cpt.php | 15 ++------------- wp-show-metaboxes.php | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+), 13 deletions(-) create mode 100644 wp-presale-plugin.php create mode 100644 wp-show-metaboxes.php diff --git a/wp-presale-plugin.php b/wp-presale-plugin.php new file mode 100644 index 0000000..1ac819b --- /dev/null +++ b/wp-presale-plugin.php @@ -0,0 +1,13 @@ + true ), 'supports' => array ( - 'author', + #'author', 'editor', 'title', - 'custom-fields', + #'custom-fields', 'thumnails' ) ) ); @@ -95,5 +86,3 @@ function presale_register_taxonomy() { ) ) ); } - -?> diff --git a/wp-show-metaboxes.php b/wp-show-metaboxes.php new file mode 100644 index 0000000..170a6f0 --- /dev/null +++ b/wp-show-metaboxes.php @@ -0,0 +1,33 @@ +ID); + ?> +
+
+
+
+ + +
+
+
+