[Resolved] Group types not showing up at group creation
-
Wordpress version: 4.6.1
BP version: 2.7
First off, hats off to the folks who put together this 2.7 update- glad to see the direction BP has been going over the years. I was really excited to see the addition of group types too. However, I can’t seem to get the basics to work with it. I am trying to get Group Types to show up at the group creation time on the front-end, but it still does not appear. In order to test it out, I tried just using the code exactly as it appeared on the codex:function my_bp_custom_group_types() { bp_groups_register_group_type( 'team', array( 'labels' => array( 'name' => 'Teams', 'singular_name' => 'Team' ), // New parameters as of BP 2.7. 'has_directory' => 'teams', 'show_in_create_screen' => true, 'show_in_list' => true, 'description' => 'Teams are good', 'create_screen_checked' => true ) ); } add_action( 'bp_groups_register_group_types', 'my_bp_custom_group_types' );
I dropped the code into my child theme’s function.php but the options do not show up like they do on the screenshots. I tried clearing the cache too but to no avail.
By the way, I referenced the Group Types codex page for all the actions above. Any help would be greatly appreciated.
- You must be logged in to reply to this topic.