Astra: Change the "Read More" Text
Changes the "Read More" link text that the Astra theme shows on blog archives to your own wording, such as "Continue reading".
Opens WPIDE on
Code
// New link text.
$wpide_astra_read_more = 'Continue reading';
add_filter( 'astra_post_read_more', function ( $text ) use ( $wpide_astra_read_more ) {
return defined( 'ASTRA_THEME_VERSION' ) ? esc_html( $wpide_astra_read_more ) : $text;
} );
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.