Showing posts with label Buddypress. Show all posts
Showing posts with label Buddypress. Show all posts

Monday, May 16, 2016

Disable Profile and Group Cover Image in BuddyPress

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.

add_filter( 'bp_is_profile_cover_image_active', '__return_false' );
add_filter( 'bp_is_groups_cover_image_active', '__return_false' );


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.

MS SQL : How to identify fragmentation in your indexes?

Almost all of us know what fragmentation in SQL indexes are and how it can affect the performance. For those who are new Index fragmentation...