If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

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


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


    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. :)



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

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