How do I make all links in posts (using the “link” button) open a new window?
In WordPress 2.7, how can I make all outgoing links within posts always open a new window? Currently, the “link” command in the body-of-the-post text box creates code that makes links not open a new window, but takes readers away from the current page to the external link page, within the same existing window. To return to continue reading my post, they’d have to click the “back” button, rather than simply close the new window.
What I mean, specifically, is that I want the “link” command to insert ‘ target=”_blank” ‘ into the appropriate place in the link code, which would cause a new window to be opened. I could of course do this by hand each time, but I want to be able to use the convenience of the link command.
How can I change the template/format/whatever in WordPress 2.7 to have this be the case in all postings all the time? (Or does it depend on the theme? I should think not. I’d like it to insert ‘ target=”_blank” ‘ whatever the theme.)
I presume I have to change one or more php files and then re-upload them. Which files, and where exactly in those files do I make the changes? Thanks.
- The topic ‘How do I make all links in posts (using the “link” button) open a new window?’ is closed to new replies.