Opening post links in new window

Posted in: Newspaper
Post count: 25

Hey guys, loving the theme. One observation/issue: all the links automatically take people away from the site, a Web Best Practices No-No. Is there an easy way to set the theme so links open in a new window? Or, can you add that to the Wish List? It makes me not want to add links to my posts because I don’t want people leaving!

Post count: 9544

That’s how WordPress works. If you put a link in your post, the default it basic HTML for an anchor link. Theme does not control that. As always, you can add your own target link when putting a URL into a post and WP now adds a rel=noopener to fix the security flaw which made opening links in new tabs or windows a no-no.

If basic links in posts are not what you were referring to you, you might need to be waaaaay more specific. Do you mean social links, or do you mean what ?

Post count: 20688

Hi,

I believe links in the post content can be set to open in a new tab, like this
https://www.screencast.com/t/hfmWM9Z6
https://www.screencast.com/t/gAPLPlBqwb

Thanks

Post count: 25

Actually, just found a plugin that solves the problem for me. In case anyone else is interested, thus far works like a charm. https://wordpress.org/plugins/open-external-links-in-a-new-window/

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.