Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to get user_nicename to display a link on post.php?

<?php if ( $wp_profile_user = bb_get_user( get_post_author_id( $post_id ) ) ) : $wp_profile_link = esc_attr( "/members/{$wp_profile_user->user_nicename}/" )?><a href="<?php echo $wp_profile_link?>">View profile</a><?php endif?>

Your profile pages from bbPress and WordPress should be in sync anyway if you’ve integrated properly…

Skip to toolbar