How to translate the 'Continue Reading…'

Community Forums Forums Design Tips and Tricks How to translate the 'Continue Reading…'

This topic is: not resolved


This topic contains 2 replies, has 3 voices, and was last updated by  Martina 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #63673



    I would like to translate the text ‘Continue Reading…’ (the link for visit af specific post).

    The theme I use is Balance.

    I have translated the text via home.php but this is only changing the text at the frontpage. Therefore I also added the:

    //* Modify the Genesis content limit read more link
    add_filter( ‘get_the_content_more_link’, ‘sp_read_more_link’ );
    function sp_read_more_link() {
    return ‘… Klik og læs mere…‘;

    This code change the text at the archive pages so now I only miss to change the very first blog post at the top, I don’t know why this is not being changed through the home.php? I always use the “Read More-Tag” because else the post is cover the whole frontpage.

    Here is an example: (The first blogpost is still the ‘Continue Reading’ text.

    I know I can use this code for translate the Read More-Tag;

    //* Modify the WordPress read more link
    add_filter( ‘the_content_more_link’, ‘sp_read_more_link’ );
    function sp_read_more_link() {
    return ‘[Continue Reading]‘;

    But when using this code, then i always got a fault message.

    Maybe that is because I also have added this code? I don’t know.

    //* Modify the length of post excerpts
    add_filter( ‘excerpt_length’, ‘sp_excerpt_length’ );
    function sp_excerpt_length( $length ) {
    return 50; // pull first 50 words

    – Can you please help me with this problem?

    Thanks a lot. :-)



    Found it! (I think). In the theme-file function-php:

    /** Customize ‘Read More’ text */
    add_filter( ‘get_the_content_more_link’, ‘balance_read_more_link’ );
    add_filter( ‘the_content_more_link’, ‘balance_read_more_link’ );
    function balance_read_more_link() {
    return ‘‘ . __( ‘Lees meer…’ ) . ‘‘;

    As you can see, I changed ‘continue reading’ in the Dutch words ‘Lees meer…’



    The code above does not work. I have tried this. As you can see above, the blue characters are showing: something is wrong with this code.

    The correct code I have found on this website:

    Works like a charm :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.