-
Henry Wright replied to the topic Hide the MEMBERS, GROUPS, ACTIVITY pages in the forum How-to & Troubleshooting 10 years, 3 months ago
Hi @dhyana
Put this in your theme’s functions.php file:
function my_redirect_pages() {
if ( ! is_user_logged_in() && ( is_page( 'members' ) || is_page( 'groups' ) || is_page( 'activity' ) ) ) {
wp_redirect( home_url() );
exit();
}
}
add_action( 'template_redirect', 'my_redirect_pages' );This will block these pages for…[Read more]
-
bp-help replied to the topic [Resolved] Odd Buddypress Problem with new signups? in the forum How-to & Troubleshooting 10 years, 4 months ago
@dhyana
🙂 -
bp-help replied to the topic [Resolved] Odd Buddypress Problem with new signups? in the forum How-to & Troubleshooting 10 years, 4 months ago
@dhyana
It is located in this structure:
your-sitewp-contentpluginsbuddypressbp-templatesbp-legacybuddypressmembersregister.php
As always I advise using a child theme when making changes! Good luck!
@dhyana
Active 10 years, 3 months ago