Skip to:

Insert Cover Image Url Into Members Directory

  • nickfern


    Hello, I’m a web developer trying to create a member’s directory for a website via Buddypress, I am trying to use the cope from members-loop.php to display the cover image that shows up on individual profile pages but I can’t find a way to pull the url for each member.

    Is there a simple or at least straightforward way to do this? Or alternatively, is there an alternative to the default avatars so I can use different dimensions for them?

    For reference I am using Buddypress v. 2.6.2 and the exact section of code I’m looking at is this.

    <?php while ( bp_members() ) : bp_the_member(); ?>

    <td>“><?php bp_member_name(); ?></td>
    <td><?php echo bp_member_profile_data(‘field=Businesstype’); ?></td>
    <td><?php echo bp_member_profile_data(‘field=Phonenumber’); ?></td>
    <td><?php echo bp_member_profile_data(‘field=Address’); ?></td>
    <td><?php echo bp_member_profile_data(‘field=Website’); ?> </td>
    <td>“>Full Profile</td>

  • You must be logged in to reply to this topic.
Skip to toolbar