I also have S2 member plugin installed… when I go into the group options these are the two choices I see
>Members
>no pending invites
there is no option to create a group???
i have it set so that anyone who is member can create a group??
@carolinecalvert what theme are you using? Some themes have page titles which are not within the WP loop, hence BP cannot automagically insert the “Create Group” button beside the page title as seen https://mercime.files.wordpress.com/2013/02/groups-directory.png
On way is to create a link when user is logged in. You only need to append /create/ after your site’s group directory url, e.g. http://example.com/groups/create/
In upcoming BP version, the create a group link will also be added to the Member’s navigation in WP toolbar. If you’re adventurous, you can add the code to have those links already https://buddypress.trac.wordpress.org/changeset/7062
thank you for your help, the theme I am using is Risen (It was on a list of compatible themes) but this site has a few plugins that I thought might be causing problems, s2 member, event espresso.
I am still unsure how I would create a link to get this working?
You can add this somewhere in your theme:
<?php if ( is_user_logged_in() && bp_user_can_create_groups() ) : ?>
<a class="button" href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create' ); ?>">Create a Group</a>
<?php endif; ?>
what php file do I add this to? sorry I am new to php
i am also confused as to why this function was (is) not working? does everyone have to do this to get groups to work?
thank you for taking the time to help me I appreciate it. 🙂