How to open social media link in a new tab in ShopIsle
Important notice: This product is now in maintenance mode and is no longer being actively developed or supported. Updates and bug fixes will not be provided unless they relate to security concerns.
It's really easy to make a link open in a new tab, and we already have a document for that: How to open links in new tab. This document covers three different requests of opening link in new tab. Just follow the last process of given doc and add the following code in your header.php file above the </head>:
<script type="text/javascript">// <![CDATA[ jQuery(document).ready(function($){ $('.footer-social-links a').each(function(){ if( $(this).attr('href') && 0 != $(this).attr('href').indexOf('#') ) { $(this).attr('target', '_blank'); } }); }); // ]]></script>
In case of any query, feel free to contact our support forum.