WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


share|improve this question
and to your 2nd question: echo bp_core_get_userurl($post->post_author); – onetrickpony Dec 22 '10 at 18:25
<?php echo bp_core_get_userurl($post->post_author); ?> fires an error , found this codex.buddypress.org/developer-docs/the-bp-global but not really sure how to use it. – Tom Dec 22 '10 at 18:28
Fatal error: Call to undefined function bp_core_get_userurl() in – Tom Dec 22 '10 at 18:32
get_the_author(); – onetrickpony Dec 23 '10 at 7:36

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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