In BuddyPress most of the times Group and Profile cover images are not required. We can disable Profile and Group Cover images in the following way.
Open your theme's function.php and at the end of the file before ?> add the following 2 lines.
After adding the above two lines, save the file and upload the file back to the server.
Now, Profile and Group Cover image will be disabled and will not be visible in the front-end.
Open your theme's function.php and at the end of the file before ?> add the following 2 lines.
add_filter( 'bp_is_profile_cover_image_active', '__return_false' );
add_filter( 'bp_is_groups_cover_image_active', '__return_false' );
Now, Profile and Group Cover image will be disabled and will not be visible in the front-end.
No comments:
Post a Comment