- This topic has 4 replies, 2 voices, and was last updated 9 years, 10 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I was looking to make the links on my search results page open in New tabs. Does anyone know how I could do this.
I'm working on an information heavy site and this seems to be a great way to open and close search results easily.
Any Body have Ideas.
Seems every Question I ask these days goes unanswered. Is the support forum overloaded???
yeah, pretty much 🙂 no, actually i have no idea, haven't been around the forums much if I have no questions 🙂
target="blank" you can add manually to
<a> tags. Did you know about that? Don't know if you want to insert manually or not. Maybe there's a php function you could create to insert that into every
<a> tag on search pages... something like that.
Yeah I was looking for a php function that would do that. I'm no guru when it comes to writing functions so was hoping there would be some help in the forum.
A new search page template with the function in it would be ideal
Any ideas ???
I've seen a couple js solutions over in the WP forums, you might want to search "add target blank to a href" or something like that over there. quite a few topics come up.
I don't know of any php functions, perhaps others can chime in. Sorry.
© 2023 WPEngine, Inc.