Irvan Indrayana
asked 7 years ago

Hi there,

I want to make social links in DW minion open in new tab. Is there any way to do that?

Thank you.

1 Answers
DominicStaff
answered 7 years ago

You can open the /inc/extras.php file then find the line 263 to line 269 then replace this code with the following code: 

<?php if(count($social_links) > 0 ) { ?><ul class="unstyled list-socials clearfix" style="width: <?php echo count($social_links)*40; ?>px;">
<?php if($social_links['facebook']!='') { ?><li class="social"><a target="_blank" href="<?php echo $social_links['facebook']; ?>"><i class="icon-facebook"></i></a></li><?php } ?>
<?php if($social_links['twitter']!='') { ?><li class="social"><a target="_blank" href="<?php echo $social_links['twitter']; ?>"><i class="icon-twitter"></i></a></li><?php } ?>
<?php if($social_links['google_plus']!='') { ?><li class="social"><a target="_blank" href="<?php echo $social_links['google_plus']; ?>"><i class="icon-google-plus"></i></a></li><?php } ?>
<?php if($social_links['youtube']!='') { ?><li class="social"><a target="_blank" href="<?php echo $social_links['youtube']; ?>"><i class="icon-youtube"></i></a></li><?php } ?>
<?php if($social_links['linkedin']!='') { ?><li class="social"><a target="_blank" href="<?php echo $social_links['linkedin']; ?>"><i class="icon-linkedin"></i></a></li><?php } ?>
</ul><?php } ?>
Powered by DW Question & Answer Pro