The Jetpack image widget does not offer a target option for links. Is there a way to open all Jetpack image widget links in a new window without hacking the plugin? Like through a hook or function?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
There is no hook available in the plugin. One solution is to simply copy this Jetpack Widget and add the target option. Another is through jQuery, in the file
And in the file
|
|||
|
|
|
Another option would be to add this to your
|
|||
|
|