Tagged: ,

Viewing 2 reply threads
  • Author
    Posts
    • #1177
      Marcus
      Member

      Ok, 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

    • #1180
      Marcus
      Member

      I’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

    • #1182
      Steve
      Keymaster

      @marcus– Drop us a note with the contact form.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.