How can I add target=‘_blank’ to this code?
I would like the social urls opening in a new page.
<!-- Header top bar Socials -->
<?php if(!empty($socials)): ?>
<div class="pull-right">
<div class="copyright-socials">
<ul class="clearfix">
<?php foreach ( $socials as $key => $val ): ?>
<li>
<a href="<?php echo esc_url ($val ) ?>">
<i class="fa fa-<?php echo esc_attr($key); ?>"></i>
</a>
</li>
<?php endforeach; ?>
</ul>
</div>
</div>
<?php endif; ?>
All help greatly appreciated. thank you.