How can I add our clients link to their website?

How can I add our clients link to their website ?

Hello,

You can try to do this with jQuery.

  1. Please install and activate Insert Headers and Footers plugin that will allow you to insert JavaScript (jQuery) code.

  2. Go to your DashboardSettingsInsert Headers and Footers → add the following code to Scripts in Header section, and click Save button.

<script type='text/javascript'>
    jQuery(document).ready(function(){
        jQuery('.atframework_clients_widget .client:nth-child(1) img').wrap( "<a href='https://example.com/1st-client'></a>" );
        jQuery('.atframework_clients_widget .client:nth-child(2) img').wrap( "<a href='https://example.com/2nd-client'></a>" );
        jQuery('.atframework_clients_widget .client:nth-child(3) img').wrap( "<a href='https://example.com/3rd-client'></a>" );
        jQuery('.atframework_clients_widget .client:nth-child(4) img').wrap( "<a href='https://example.com/4th-client'></a>" );
    });
</script>

Just replace https://example.com/1st-client, https://example.com/2nd-client, https://example.com/3rd-client, and https://example.com/4th-client with respective links.

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

Hi roman,
the script work fine but if I don’t want open the client’s site in the same window but in a new window of my browser? Is it possible?

regards
cristiano

Hello Cristiano,

Yes, it’s possible. Just add target=’_blank’, so you should get something like this:
.wrap( “<a href=‘https://example.com/1st-client’ target=’_blank’></a>” )

Kind Regards, Roman.

Thanks Roman it’s works fine
regards
CRistiano

Great! You are welcome Cristiano :slight_smile:

Kind Regards, Roman.