Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
1  
1  
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
1  
Fatal error: Call to undefined function bp_core_get_userurl() in –  Tom Dec 22 '10 at 18:32
1  
get_the_author(); –  onetrickpony Dec 23 '10 at 7:36

1 Answer 1

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

 
discard

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.