User profile link
I searched for this and didn’t find anything, but by scrounging through the code I found the necessary functions to make it work. I long for the day when the tags/functions in bbpress are documented like they are in WP.
At any rate, I don’t really care for the “Title” line under a post author’s name, and I wanted to replace it with a simple link to the post author’s profile instead. The code I used was:
<a href="<?php bb_option('uri'); ?>profile.php?id=<?php echo (get_post_author_id()); ?>">View Profile</a>
I added this in post.php, where the
<?php post_author_title(); ?>line had been inside the
I’m so proud of myself, I think I’ll go have a snack!
- You must be logged in to reply to this topic.