Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #314659

    Hello,

    I need help with the Social Bar in Enfold.

    I want to change the frase “share this” to another one. How do I do this?

    social

    Thanks.
    Fabiana.

    #314846

    Hey Fabiana!

    Try adding this at the very end of your theme / child theme functions.php file:

    function modify_share_title() {
    	return "SOMETHING ELSE";
    }
    add_filter('avia_social_share_title', 'modify_share_title');

    Cheers!
    Josue

    #314866

    Hi Josue,

    Thanks a lot, it worked!

    Just a question though.

    The phrase I am replacing it with, has a word that uses accent (então), and the word shows a question mark, how to solve this?

    Best regards,
    Fabiana.

    #314870

    Hey Fabiana!

    Try using the HTML entity code:

    function modify_share_title() {
    	return "Então";
    }
    add_filter('avia_social_share_title', 'modify_share_title');
    

    Best regards,
    Josue

    #314872

    Josue,

    I am your fan! It worked beautifully!

    Thanks once again.

    Have a wonderful week.

    Fabiana.

    #314876

    You are welcome Fabiana, always glad to help :)

    Regards,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.