Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #878275
    SirRahikkala
    Participant

    It seems that even the strings “Share on…” are found with WPML, they are not reflecting to theme. The hover text on Social sharing is not changing. Everything related to theme and cornerstone are latest version at the moment.

    #878665
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thanks.

    #878723
    SirRahikkala
    Participant
    This reply has been marked as private.
    #879492
    Christopher
    Moderator

    Hi there,

    Please add following code in child theme’s functions.php file and translate strings:

    add_filter('gettext', 'translate_text', 20 );
    function translate_text($translated) { 
      $translated = str_ireplace('Share on Facebook', 'Your new text 1', $translated);
      $translated = str_ireplace('Share on Twitter', 'Your new text 2', $translated);
      $translated = str_ireplace('Share on Google+', 'Your new text 3', $translated);
      $translated = str_ireplace('Share on LinkedIn', 'Your new text 4', $translated);
      $translated = str_ireplace('Share via Email', 'Your new text 5', $translated);
      return $translated; 
    }

    Hope it helps.

  • <script> jQuery(function($){ $("#no-reply-878275 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>