![]() |
target="blank" for all external links in posts
I need all references to external links in my post to open in a new page. I have multiple people set up as Authors and I don't want them to have to remember to add target="_blank" in the url. Is there a way to globally set this for posts?
|
(bump..................)
|
a link that is part of the post text is not processed by the theme, it just calls the wordpress function 'the_content()' or 'the_excerpt()', so I think you wll have to find or code a plugin to examine the post content for any links then add that to the end.
A google search found Make all links target _blank plugin which may or may not help. |
I just tested and it looks like if you just put the following in HTML Inserts: Header it does the trick.
HTML Code:
<base target=”_blank” /> |
Quote:
|
STB, if you read my post, you will notice that I said
Quote:
|
Quote:
|
All times are GMT -6. The time now is 10:44 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.