Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How do I link blog post authors to their BP profiles?

@dcavins

Keymaster

Hi, the easiest way to do this is to filter the WP “author link” so that it redirects to the member’s BP profile: https://gist.github.com/dcavins/94e4989cad997d0553e8e5db37f30b40

If you want to change the template used by an article, it will depend on your theme. For instance, if you were using twentyseventeen and wanted to add the author’s link to the meta section at the end of a post, it looks like you’d want to create a new version of the function twentyseventeen_entry_footer(). So you could copy that function to bp-custom.php or your child theme’s functions.php file, then add the function the_author_posts_link() where you want the link to appear. in any case, adding the author link to a post is a common WP task, so I’m guessing there are lots of tutorials about how to manage that part.

Skip to toolbar