Tagged: 

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

    Hi guys. looked up on other threads that there are some ways how to get the social media buttons to open in a new window. however the files mentioned there that i have to customize i cannot find any where. can you guys help? Thanks a lot!

    #100675

    Hi bevlogenverf,

    Kindly open wp-content/themes/replete/includes/helper-social-media.php and find this line of code (line 63):

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

    Replace it with:

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

    Hope this helps. :)

    Regards,

    Ismael

    #100676

    your my hero. :D

    #100677

    Hey,

    Glad it is fixed. :)

    Regards,

    Ismael

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

The topic ‘open social media in new window’ is closed to new replies.