We are using the WordPress Download Manager plugin. It has a front end upload form, for creating a post of its custom post type on the front end.
We’d like the person doing the front end post to be able to assign groups to the post from the Groups plugin. This can be done on the back end, of course, since Groups adds its meta boxes to the standard WP post editing forms. But our client needs this available on the front end.
There is a custom template for this front end form, where we can add the meta box, *if* we know how.
So far I have tried this:
require_once( GROUPS_ACCESS_LIB . ‘/class-groups-access-meta-boxes.php’ );
require_once( GROUPS_VIEWS_LIB . ‘/class-groups-uie.php’ );
require_once(ABSPATH . ‘wp-admin/includes/screen.php’);
It doesn’t error, but it also doesn’t render a Groups meta box for assigning groups to the post.
As you can see, i’m kind of groping in the dark here … what can we do to add the capability of assigning groups to this post of custom post type on the front end?