Change the Divi Read More Text

C

If you’re like me, you’re probably not happy with the default language that Divi gives you that says “read more” at the end of your blog excerpt.

Here is a handy piece of code to adjust the text using your child theme’s functions.php.

function change_read_more( $translated_text, $text, $domain ) {
    switch ( $translated_text ) {
        case 'read more' :
            $translated_text = __( 'read more ->', 'et_builder' );
            break;
    }
    return $translated_text;
}
add_filter( 'gettext', 'change_read_more', 20, 3 );

About the author

Michael Wood

I’m the founder of Helium Ventures. I made this website to share useful information I’ve picked up over my career.

Leave a Comment

Michael Wood

I’m the founder of Helium Ventures. I made this website to share useful information I’ve picked up over my career.

Get in touch

Have a question about something I wrote or just want to chat? Let’s connect.