Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16798

    Hello,

    How do I make sure that the social icons in the header is linking to target=”_blank”?

    #92898

    Hi mp3dk,

    Kindly open wp-contentthemeschoicesincludeshelper-social-media.php and find this line of code (line 63):

    $html .= "<a href='".$icon['social_icon_link']."'>".ucfirst($icon['social_icon'])."</a>";

    and replace it with this code:

    $html .= "<a href='".$icon['social_icon_link']."' target='_blank'>".ucfirst($icon['social_icon'])."</a>";

    Hope this helps. :)

    Regards,

    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Making Social Icon target="_blank"’ is closed to new replies.