-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow site admin to automatically create/Use categories with Same group name #8
Comments
Any progress on this? Would love for groups to automatically create and be associated with a blog category of the same name. No manual admin or user input required. |
Fixed it. For anyone else that comes along I found a solution on their support forum. All this code was taken from this thread: https://buddydev.com/support/forums/topic/blog-categories-for-groups-auto-creating-selecting-cats-for-groups/ Put the code in your bp-custom.php file: https://codex.buddypress.org/themes/bp-custom-php/ Here is all the code together at once:
|
Thank you for sharing the code. I hope it helps others. |
If the group gets deleted, is it possible to also automatically delete the associated category that was created for it? |
Allow site admins to choose if they want to automatically create/associate categories with the same name as group to the group on group creation.
Suggested by @ Sven
The text was updated successfully, but these errors were encountered: