Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cornelius6

    (@cornelius6)

    Hi. I have found the following solution. It works for my child theme:

    function custom_read_more_link() {
    return '<a href="' .get_permalink() .'" rel="nofollow">Your text here...</a>';
    }
    add_filter( 'excerpt_more', 'custom_read_more_link' );
    add_filter( 'get_the_content_more_link', 'custom_read_more_link' );
    add_filter( 'the_content_more_link', 'custom_read_more_link' );

    Plugin Author Chad Butler

    (@cbutlerjr)

    As you discovered, the “read more” link that the auto excerpt inserts is designed to work with the WP read more filters.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘"(more…)" translation’ is closed to new replies.