Comments Pong started the conversationAugust 9, 2018 at 3:46pmHi guys, is there a way to set social icons links to open in a new tab?I'm using them in footer sub area.Thanks! 895TheFox repliedAugust 9, 2018 at 8:04pmHello again, We will include this in our next update, this is a good idea to let the user choose. In the meanwhile, if you want to do this you would need to modify the function directly. If you can't wait for our next update : - Install cesis child theme - Copy the following code in the functions.php of the child theme function cesis_socials($type){ global $cesis_data; $social_content = '<span class="cesis_social_icons '.$type.'">'; if(!empty($cesis_data['cesis_social_icons']) && is_array($cesis_data['cesis_social_icons'])){ foreach($cesis_data['cesis_social_icons'] as $key => $icon){ $social_content .= '<a href="'.$icon[" font-url"].'"="" target="_blank" class="'.$icon[" font-suffix"].'="" '.$icon["font-icon"].'"=""></a>'; } } $social_content .= '</span>'; return $social_content; } This should do the trick! thanks for the feedback! Do not hesitate to contact us if you have more questions. Have a nice day! Regards.--------------------- Hosting we recommend ( Free SSL and CDN included in all plan ). Speed up your site with Autoptimize Test your site with GTmetrix and fix the issue to make it faster How to Update your Theme 1 LikePong repliedAugust 9, 2018 at 9:33pmDid that and Social Icons are gone =( 895TheFox repliedAugust 10, 2018 at 9:17amHello Pong,That's really strange, we gave this code to an other customer that wanted the same thing and it worked just fine.Did you had any other function in the functions.php file?Kind regards--------------------- Hosting we recommend ( Free SSL and CDN included in all plan ). Speed up your site with Autoptimize Test your site with GTmetrix and fix the issue to make it faster How to Update your Theme Pong replied privately 895TheFox repliedAugust 10, 2018 at 9:05pmHello Pong,We logged and fixed the problem it seems that there was a problem when you paste it.Kind regards--------------------- Hosting we recommend ( Free SSL and CDN included in all plan ). Speed up your site with Autoptimize Test your site with GTmetrix and fix the issue to make it faster How to Update your Theme 1 Like Sign in to reply ...
Hi guys, is there a way to set social icons links to open in a new tab?
I'm using them in footer sub area.
Thanks!
Hello again,
We will include this in our next update, this is a good idea to let the user choose.
In the meanwhile, if you want to do this you would need to modify the function directly.
If you can't wait for our next update :
- Install cesis child theme
- Copy the following code in the functions.php of the child theme
This should do the trick!
thanks for the feedback!
Do not hesitate to contact us if you have more questions.
Have a nice day!
Regards.
---------------------
Hosting we recommend ( Free SSL and CDN included in all plan ).
Speed up your site with Autoptimize
Test your site with GTmetrix and fix the issue to make it faster
How to Update your Theme
Did that and Social Icons are gone =(
Hello Pong,
That's really strange, we gave this code to an other customer that wanted the same thing and it worked just fine.
Did you had any other function in the functions.php file?
Kind regards
---------------------
Hosting we recommend ( Free SSL and CDN included in all plan ).
Speed up your site with Autoptimize
Test your site with GTmetrix and fix the issue to make it faster
How to Update your Theme
Hello Pong,
We logged and fixed the problem it seems that there was a problem when you paste it.
Kind regards
---------------------
Hosting we recommend ( Free SSL and CDN included in all plan ).
Speed up your site with Autoptimize
Test your site with GTmetrix and fix the issue to make it faster
How to Update your Theme