jQuery Open Link with Class in New Window

Glenn Blog 0 Comments

Sometimes out of the box code doesn’t open links in new windows / in window “_blank” and in these instances this small jQuery snippet will come to the rescue:- So simply add the class “external-url” to your link and it will open in a new window. Working: Slick Media WordPress Developers I find this useful for WordPress elements that you …