Filters the string in the “more” link displayed after a trimmed excerpt.
Parameters
$more_string
string- The string shown within the more link.
Source
$excerpt_more = apply_filters( 'excerpt_more', ' ' . '[…]' );
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |
How to replace […] by some other string?
In following code, we are replacing […] by just …
You can send any string in return.
How To Add A “Continue Reading” Link To Excerpts
Example migrated from Codex:
To change excerpt more string, add the following code to functions.php file in your theme:
For versions older than 2.9 use:
Add A “Read more” with post link.