Skip to:
Content
Pages
Categories
Search
Top
Bottom

Bug with cover images works every but members page


  • thejameshardy
    Participant

    @thejameshardy

    Hi using this code

    <div class ="profile-box-cover-image" style="background-image: url(<?php $image_url = bp_attachments_get_attachment('url', array( 'item_id' => bp_displayed_user_id() ) ); echo $image_url; ?> )"></div>

    Im able to display users cover image everywhere but not on the memebers directory page. Even using in memebers loop will cause buddypress to echo it on friends pages for users but in the memebers directory it just doesnt appear suggestings its a bug maybe?? Even using the code provided on the buddypress docs has the same effect.

    Any help would be amazing thank you!

Viewing 1 replies (of 1 total)

  • thejameshardy
    Participant

    @thejameshardy

    Bump. It looks like buddypress is fetching the user profile cover image for all memebers? Any help pelase!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar