Hi,
I have the Recent Posts widget active in the sidebar of my wordpress blog.
However, I want any recent post links that are clicked to open in a NEW window as opposed to the same one.
Can anyone please tell me how I can do this?
Thanks :)
Hi,
I have the Recent Posts widget active in the sidebar of my wordpress blog.
However, I want any recent post links that are clicked to open in a NEW window as opposed to the same one.
Can anyone please tell me how I can do this?
Thanks :)
It seems the widget doesn't have this option.
You could find where the widget is coded into the PHP files and hardcode this attribute into the links:
target="_blank"
Where is this widget code located? Is it /wp-includes/widgets.php or somewhere else?
And how would I hardcode that attribute into it?
I checked the widgets.php file but I couldn't find a place to add a target="blank" command.
Does anyone know how to do this?
I still can't figure this out. :(
Does anyone know what to do?
put target="_blank" to the link tag..
This topic has been closed to new replies.