Use this code to wrap each of your client images in a link. Make sure you change the links.
jQuery(function($) { $( '.client-area .client:nth-of-type(1) img' ).wrap( '<a target="_blank" href="http://firstclientlink.com"></a>' ); $( '.client-area .client:nth-of-type(2) img' ).wrap( '<a target="_blank" href="http://secondclientlink.com"></a>' ); $( '.client-area .client:nth-of-type(3) img' ).wrap( '<a target="_blank" href="http://thirdclientlink.com"></a>' ); //Etc. Copy as many times as needed });
Tip: Keep in mind to revisit your code and change the links if you add more clients.
INFO: This is a JS snippet. If you don’t have a child theme or don’t know how to use one, we recommend that you use this plugin.