Rabbit

Tutorials

How to change the excerpt more string in WordPress

If an excerpt is greater than 55 words, WordPress will append a more link to the excerpt text. By default the link text is […]. The excerpt_more filter can be used to change this string.

add_filter( 'excerpt_more', function( $more_string ) {
    $more_string = __( 'Continue reading', 'text-domain' );
    return $more_string;
}, 12 );

Posted by on .

0 comments

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>