@funmi-omoba
You’re right, it won’t work ‘cuz there are typos in the code… sorry, my bad
Find this in members-loop.php (around line 30)
<div class="item-title">
<a href="<?php bp_member_permalink() ?>"><?php bp_member_name() ?></a>
<?php if ( bp_get_member_latest_update() ) : ?>
<span class="update"> - <?php bp_member_latest_update( 'length=10' ) ?></span>
<?php endif; ?>
</div>
…and replace with this:
<div class="item-title">
<a href="<?php bp_member_permalink() ?>"><?php bp_member_name() ?></a>
<a class="button" href="<?php bp_member_permalink(); ?>">View Profile</a>
<?php if ( bp_get_member_latest_update() ) : ?>
<span class="update"> - <?php bp_member_latest_update( 'length=10' ) ?></span>
<?php endif; ?>
</div>
Then add this to your child-theme’s style.css
#members-list .item-title a.button {float:right;}
I just tested it and it works fine. Remember to respect the file structure in your child-theme: members/members-loop.php