Comments BorcioTv started the conversationJuly 3, 2020 at 6:32pmcan you update your theme and add rel noopener to social links?BorcioTv repliedJuly 3, 2020 at 6:46pm <?php//Social Icons related functionsif(!function_exists('cesis_socials')){ 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"].'" rel="noopener" target="'.$cesis_data['cesis_social_icons_target'].'" class="'.$icon["font-suffix"].' '.$icon["font-icon"].'"></a>'; } } $social_content .= '</span>'; return $social_content; } } 895TheFox repliedJuly 4, 2020 at 12:03pmHello BorcioTv, thanks for purchasing Cesis! You can copy the code you just gave us in our child theme functions.php and it will overwrite our function and solve your issue. Do not hesitate to contact us if you have more questions. Have a nice day! Best 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 BorcioTv repliedJuly 4, 2020 at 10:20pmyes but you should add it to your theme (google page speed optimization) 895TheFox repliedJuly 5, 2020 at 9:22amHello,We will let our devs know about this but in the meanwhile you can copy the code to the child theme if you need.Do not hesitate to contact us if you have more questions. Have a nice day! Best 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 Sign in to reply ...
can you update your theme and add rel noopener to social links?
<?php
//Social Icons related functions
if(!function_exists('cesis_socials'))
{
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"].'" rel="noopener" target="'.$cesis_data['cesis_social_icons_target'].'" class="'.$icon["font-suffix"].' '.$icon["font-icon"].'"></a>';
}
}
$social_content .= '</span>';
return $social_content;
}
}
Hello BorcioTv, thanks for purchasing Cesis!
You can copy the code you just gave us in our child theme functions.php and it will overwrite our function and solve your issue.
Do not hesitate to contact us if you have more questions.
Have a nice day!
Best 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
yes but you should add it to your theme (google page speed optimization)
Hello,
We will let our devs know about this but in the meanwhile you can copy the code to the child theme if you need.
Do not hesitate to contact us if you have more questions.
Have a nice day!
Best 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