Tagged: ,

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

    I know this topic has been covered before for other themes, but I can’t figure out how to get the social media icons to open in a new window for Coherence. Thanks very much!

    #93098

    Open up coherenceincludeshelper-social-media.php and replace following code:

    $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>";

    #93099

    Here is an excellent plugin that opens all links in a new wnndow, http://wordpress.org/extend/plugins/sem-external-links/

    You can ignore the no-update message. I currently use this plugin on several dozen WP 3.4.1 and 3.4.2 sites.

    #93100

    Hi webbie22,

    Thanks for the tip. :)

    Regards,

    Ismael

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

The topic ‘Social Icons in new window’ is closed to new replies.