Bug with cover images works every but members page
-
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!
- You must be logged in to reply to this topic.