Skip to:
Content
Pages
Categories
Search
Top
Bottom

disable Cover Image from Members Directory Card

  • @unbroken1

    Participant

    On my BuddyPress Members Directory Card, I want to disable the Cover Image, while the Cover Image should appear on the Member’s Single Page.

    I used this Snippet:

    
    // For members :
    add_filter( 'bp_is_profile_cover_image_active', '__return_false' );

    Which I got from here:

    BuddyPress 2.4.0 will introduce Cover Images for members & groups!

    But it didn’t work.

    Anyone know how I can effectively disable the Cover Photo from the Members Directory Card?

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @mike80222

    Participant

    I’m using that same code in functions.php and it’s working for me.

    I’m using the BuddyPress Legacy templates.
    So if you’re using BuddyPress Nouveau perhaps there’s a different way to do it?

    I also have the BuddyPress Classic plugin installed, for whatever that’s worth.

    You might ask on the BuddyDev forum. They’re usually good with things like this:
    https://buddydev.com/support/forums/

    @dreampixel

    Participant

    You could always use this snippet and maybe adjust the height of the field/container if needed:
    This is just an example in the BuddyX theme – can be done with other themes too.

    .buddyx-mem-cover-img {
      visibility: hidden;
    }
    
    .buddyx-mem-cover-wrapper {
      height: 100px;
    }
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar