bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Profile links: nick and role

(5 posts)
  • Started 1 year ago by archasek
  • Latest reply from savi4u
  • This topic is not resolved

Tags:

  1. archasek
    Member

    I want to have a link to profile in name of user instead of link to his homepage. how to do that?

    Posted 1 year ago #
  2. I assume you mean on a topics/posts page. Find post.php, and insert this code wherever you want the name/profile link:

    <a href="<?php _e(attribute_escape
    (get_user_profile_link
    (get_post_author_id()))); ?>">
    <?php _e(get_post_author()); ?></a>

    I broke it up into several lines for easier reading here, but it should all be on one line. This will build the profile link using the post author's name as the text for the link.

    Posted 1 year ago #
  3. archasek
    Member

    works, thanks alot!

    Posted 1 year ago #
  4. Thanks wittmana. The fix did exactly what I wanted ;p

    Posted 9 months ago #
  5. savi4u
    Member

    Works great! Thx wittmania!!!

    Posted 6 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.