2

Is there a place that shows all available template tags and how to use them similar to how wordpress does?

I'm trying to link to a profile within a loop.

Ex of output

<a href="http://www.mysite.com/members/Tom/">Tom's Profile</a>

Tried this

<?php echo( bp_core_get_userlink() ) ?>

but it errors out

This gives me the author name and url but i just need the url to the profile

<?php echo( bp_core_get_userlink( $post->post_author ) ) ?>

But I am not all that great with PHP so I can't figure out how to just output the url

Thoughts?

2

I think you probably want to use bp_core_get_user_domain(); I think bp_core_get_userurl() was taken out after the first release of BuddyPress.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.