- This topic has 2 replies, 2 voices, and was last updated 8 years, 3 months ago by
Steve.
-
AuthorPosts
-
-
October 21, 2013 at 2:58 pm #1177
MarcusMemberOk, just got a weird request from the client, they would like a special registration section on the public side (not through the admin pages) and I was wondering how hard it would be to produce a meta box on the public side? (even better, could it be the same meta box and meta box logic I use in the admin section, but shown on the public side?)
Is there a shortcode or a quick way of doing it, without including everything needed in the admin section? Or if there isn’t, whats the best way of including what needs to be loaded?
Thanks
Marcus
-
October 22, 2013 at 1:30 am #1180
MarcusMemberI’ve created a specific registration page in admin. (site.com/home/register)
Now I’m trying to bring over the custom metabox for that page and put it in the front end.
Using:// Load necessary admin files include( ABSPATH . 'wp-admin/includes/template.php' ); include( ABSPATH . 'wp-admin/includes/post.php' ); // Add meta boxes do_action('add_meta_boxes', 'page', $post); do_action('add_meta_boxes_' . 'page', $post); // Show Meta Boxes do_meta_boxes( 'home/register', 'normal', $post );Taken from several sites that tout they can show meta boxes on the front end of a wordpress site.
Only problem is, I don’t think piklist builds these for the front end, only built in admin.
Am I right? Is there a way to build the piklist meta boxes in the front end?
Thanks
Marcus
-
October 22, 2013 at 3:42 pm #1182
SteveKeymaster@marcus– Drop us a note with the contact form.
-
-
AuthorPosts
- You must be logged in to reply to this topic.