Create a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\groups\create.php
Then, in your template overload, remove the html for the Private and Hidden options.
I’ve tried doing that and removing everything related to the Private and Hidden options, but it hasn’t changed on the group creation page, still exactly the same.
Is your edited file in the correct place?
It should be here:
.../wp-content/themes/your-theme/buddypress/groups/create.php
Yes, just doubled checked, it’s in the correct place and the private and hidden groups are still there.
Some themes include BP files.
To see if that is the case with your theme, try switching momentarily to a WP theme like 2013.
My theme doesn’t seem to have any BP files, although I’ve found another create.php file in the themefolder > blogs folder, it’s completely different to the one I’ve been working with. Could this be a conflict with the BP one?
I’ve found another create.php
Make a small change in it and see if it is visible.
I had a go at making a small change, and it didn’t seem to do anything.
Hello,
Did you find a solution to do that? I’m searching for the same thing and I’ve tried to delete html lines on these files too but without ssuccess..
Thank you