Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #25562

    Hi Guys,

    Can you help me with making the header social media icons open in a new tab?

    Sorry if this is a duplicate thread, but I couldn’t find any other

    #127387

    Open up wp-contentthemeschoicesincludeshelper-social-media.php and replace

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

    with

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

    #127388

    Thanks dude :)

    #127389

    Hey,

    Glad Dude helped. :)

    Cheers,

    Ismael

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

The topic ‘target="blank_" for social media icons in header’ is closed to new replies.