Viewing 4 replies - 1 through 4 (of 4 total)
  • Go in to your ftp and into your theme folder search for sidebar.php and change in there
    then search for sidebar-2.php and change the name in there.

    Hi @buffy73

    Give a try this code in functions.php of your child theme (Appearence > Editor > functions.php )

    /* ------ Change selected text ------ */
    add_filter( 'gettext', 'my_new_text', 20, 3 );
    function my_new_text( $translated_text, $text, $domain ) {
        switch ( $translated_text ) {
            case 'More' :
                $translated_text = __( 'YOUR TEXT', 'hueman' );
                break;
            case 'Follow:' :
                $translated_text = __( 'YOUR TEXT', 'hueman' );
                break;
      }
        return $translated_text;
    }
    

    (Solution credit: bdbrown)

    • This reply was modified 7 years, 11 months ago by kerdezo.
    Thread Starter buffy73

    (@buffy73)

    Thanks for fast help ??

    Anonymous User 12851872

    (@anonymized-12851872)

    Hi,
    Not possible to do the translation in .po and .mo files?
    or here
    https://translate.www.ads-software.com/projects/wp-themes/hueman

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sidebar-top change text’ is closed to new replies.