How To: Add target=”_blank” To WordPress Author Profile Bio Links

There has been a bug in the WordPress core that strips target=”_blank” from any “a href” links added to the user’s “Biographical Info” field.

The links work fine, but they just won’t open in a new tab when clicked since target=”_blank” is automatically stripped from the link. This has been an issue for years now.

To fix it, simply add the code given below to your WordPress theme’s functions.php file:

I hope this fixes the problem. If you still have any doubts, then feel free to drop a comment below.

Ritesh Saini
Ritesh Saini
I’m a Professional Blogger & Internet Marketer living in India. Started my blogging and online marketing journey in 2013 when I was just 18 years old. You can see my work here on this blog and at

Best Managed WordPress HostingWPX Hosting
Best Managed Cloud HostingCloudways
Best Shared HostingSiteGround
Best Site & Page BuilderElementor
Beautiful WordPress ThemesElegant Themes
Lightest & Fastest WordPress ThemeGeneratePress
Best Lead Generation ToolOptinMonster
Best CDNStackPath
Best Domain RegistrarNamecheap

Related Posts

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

ShortPixel Logo 50% Extra Credits
ShortPixel Coupon
Use our exclusive ShortPixel deal and get 50% extra credits on your purchase of one-time credits.
PeerBoard Logo $59 for Lifetime
Get PeerBoard for Lifetime @ $59 ONLY!
PeerBoard lets you create Reddit style forums with ease. It is self-hosted and requires no technical expertise. Grab this lifetime deal before it's gone forever.
Share via
How To: Add target=\'_blank\' To WordPress Author Profile Bio Links
Scroll to Top
Send this to a friend