Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12880

    In Flagship Theme Options>Social Icon URL when user click the icon the link open in main page, how do I open in new tab?

    #77028

    Open up flagshipincludeshelper-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>";

    #77029

    Thank you the above fix did work however when viewing the site on a mobile device the social link does not seem to work, do you have any other method?

    #77030

    Hello,

    Let me forward this to Dude as I have no way of checking it on a mobile device.

    Regards,

    Ismael

    #77031

    I can’t test this on an iphone/android device too at the moment but I just added the (standard) target=”_blank” to the link. There’s no other way to force the link to open in another window.

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

The topic ‘How to open social link in a new window’ is closed to new replies.