Tagged: 

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

    Hello,

    I would like to open header’s social icons links on _blank target.

    How can I do ?

    Thanks in advance.

    #75219

    Hi,

    In your themes folder(Coherence) kindly open: includes > helper-social-media.php. Then try to find this line of code:

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

    And replace it with:

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

    Hope this helps. :)

    Regards,

    Ismael

    #75220

    How would you do this in the Angular them? thanks!

    #75221

    Hey Pelyon,

    For Angular specifically see: http://www.kriesi.at/support/topic/open-urls-in-new-window#post-42269

    Regards,

    Devin

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

The topic ‘Social icons on _blank target’ is closed to new replies.