Hello,
How do I go about changing ‘Share by Mail’ to ‘Share by Email’ on the pop up of the share social buttons content element?
Many thanks.
Giles
Hey Giles!
Thank you for using Enfold.
Add this in the functions.php file to change the label:
add_filter('avia_social_share_link_arguments', 'avia_change_social_link_args', 10, 1);
function avia_change_social_link_args($args)
{
$args['mail']['label'] = __("Share by Email",'avia_framework');
return $args;
}
Best regards,
Ismael
HELP! URGENT!
I tried what you said and now the site is down with this message:
Parse error: syntax error, unexpected T_FUNCTION in /home/gileth/brandsatellite.co.uk/wp-content/themes/enfold/functions-enfold.php on line 1394
Please can you help as soon as possible.
Hey!
Please go to wp-content/themes/enfold/functions.php file and remove the code from the file and then let us know so we can add it for you
Cheers!
Yigit
Hello,
I can’t change it. I get the:
Parse error: syntax error, unexpected T_FUNCTION in /home/gileth/brandsatellite.co.uk/wp-content/themes/enfold/functions-enfold.php on line 1394
message when trying to log on to my WP control panel. I also get the message if I try to visit the site.
Giles
Hey!
You should remove the code from “wp-content/themes/enfold/functions-enfold.php” file and move it to “wp-content/themes/enfold/functions.php” file. If you do not mind posting FTP access here privately, we can do it for you
Regards,
Yigit
Thanks very much for your quick response. All sorted now. Panic over!
Cheers
Giles