Reply To: Translation of "Read more" link

Home Forums Support Translation of "Read more" link Reply To: Translation of "Read more" link

Home Forums Support Translation of "Read more" link Reply To: Translation of "Read more" link

#88822
Tom
Lead Developer
Lead Developer

Hmm good point, I think the easiest way to fix this would be to make the setting in the Blog Content area stop working.

Try this code:

add_action('after_setup_theme','generate_remove_blog_filters');
function generate_remove_blog_filters()
{
      remove_filter( 'excerpt_more', 'generate_blog_excerpt_more', 99 );
      remove_filter( 'the_content_more_link', 'generate_blog_content_more', 99 );
}

You can add it in your child theme’s functions.php file, or using a plugin like this: https://wordpress.org/plugins/code-snippets/

The above should make the theme revert back to the translatable Read more text.

Let me know 🙂