This topic has 2 replies, 2 voices, and was last updated 7 years by monsurc1.

  • Author
  • #173116
     monsurc1
    Participant

    Hi,

    From Where I can change the button labels… such as Add Friend or Mentions.

    Thanks in advance

    #173145
     Kieran_SQ
    Moderator

    Hi,

    Thanks for contacting us, you can use a plugin called Loco Translate from the WordPress plugin repository to translate these strings if you have more than a few. If you only have a few you could try the below code in your child theme’s functions.php file.

    COPY CODE
    // Translate my phrase
    add_filter('gettext', 'translate_reply');
    add_filter('ngettext', 'translate_reply');
    function translate_reply($translated) {
    $translated = str_ireplace('Add Friend', 'Connect', $translated);
    return $translated;
    }

    Replace Add Friend with the word you wish to translate and replace Connect with the word you wish to use.

    Thanks,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #173170
     monsurc1
    Participant

    Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?