Home › Forums › Jevelin Theme › URL under Icon Box – open in new tab › Reply To: URL under Icon Box – open in new tab
Home › Forums › Jevelin Theme › URL under Icon Box – open in new tab › Reply To: URL under Icon Box – open in new tab
Solution for this topic
Hi Marcin,
I hope you are well today and thank you for your question.
You can achieve this by adding following custom code in the functions.php file of your child theme.
function add_custom_scripts_icon_box(){ ?> <script type="text/javascript"> jQuery(document).ready(function( $ ){ $( '.sh-iconbox-title a' ).attr( 'target', '_blank' ); }); </script> <?php } add_action('wp_footer', 'add_custom_scripts_icon_box', 99 );
Best regards,
Shufflehound team