GK social icons links load on same page

November 2012 WordPress Theme
GK User
Wed Jan 29, 2014 6:03 pm
Hi!

It's quite strange I think, but "GK social icons" link load on the same page. How can I change that? I want Facebook and Twitter pages to load on a blank page. I'm using Publisher-child theme so I guess I have to copy some file to that folder too.... :?:
User avatar
Senior Boarder

GK User
Wed Jan 29, 2014 9:40 pm
Hi,

Yes, you have to copy gavern/widgets.social.php file and add
Code: Select all
target="_blank"
to 4 social links (from line 71). e.g. for the twitter this line should looks like:
Code: Select all
if($twitter_link !== '') echo apply_filters('gk_social_twitter_link', '<a href="'.str_replace('&', '&amp;', $twitter_link).'" class="gk-twitter-icon" target="_blank">Twitter</a>');
User avatar
Moderator

GK User
Thu Jan 30, 2014 12:56 pm
Thanks Piotr! Very easy.
User avatar
Senior Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.