A in view your profile or view the members profile? I ask as two different things.
@funmi-omoba
In members-loop.php, simply add the following inside `
`
`<a class="button" href="`
Then in style.css of your child-theme, add
`#members-list .item-title a.button { float:right; }
You’ll wind up with a button styled just like all other buttons in your theme, linked to each member’s profile, sitting nicely on the right side. Edit the styling if you don’t want it on the right
Sorry, that line should be:
`<a class="button" href="View Profile`
@pcwriter thanks so much, will check it out.
@pcwriter, i dont know why this is not working for me, i put it in members-loop.php in my child theme, but nothing shows.
@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)
`
`
…and replace with this:
`
<a href="”>
<a class="button" href="”>View Profile
–
`
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
@pcwriter, you are a star, thumb up. it now fire on.
works great
thanks
I have a similar problem…
I would like to add a view profile button, which is only showns if your friends with that person.
Is it possible to display in the same way that ‘Cancel Friendship’ and ‘Add Friend’ currently work.
I think its got something to do with the bp-friends-template.php , but I’m not sure.