Home Forums Total Edit text Read more ?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #834
    yfcpe
    Participant

    Hello as I can edit the text in Featured Section?

    #854
    Hash
    Keymaster

    Hi,

    Add the below php code at the end of the function.php file or use some plugin that allows to add custom PHP code

    add_filter( 'gettext', 'change_readmore_text', 20, 3 );
    
    function change_readmore_text( $translated_text, $text, $domain ) {
        switch ( $translated_text ) {
        case 'Read More':
        $translated_text = __( 'Read More Translation', 'total' );
        break;    
        }
        return $translated_text;
    }

    change Read More Translation to your text

    #1614
    Great Team
    Participant

    I added this to the TOTAL Theme at the end of the functions.php like you said.
    I’ve recieved an error, so i reversed the proccess.

    Can you please guide me where to add this on that specific theme?

    I Need to change READ MORE buttons to another language.

    Thanks in advance,

    #1616
    Hash
    Keymaster

    It is working fine when i tested by adding it to the Total Theme.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!
CHRISTMAS SALE ! 🎁🎁 Enjoy 30% OFF 🔖 Use Coupon CodeHOLIDAY at checkout.