Need to change the default ending on WordPress excerpts? All you may need is to add this function to your WordPress theme’s functions.php file.
1 answers
1
Changing default excerpt endings in WordPress
To change the default excerpt ending on WordPress excerpts, you need to add a function to your WordPress theme’s functions.php file.
- Navigate to Appearance > Editor > Theme Functions from your WordPress Dashboard;
- Copy and paste the code below;
- Click Update File to save the changes.
function custom_excerptmore( $more ) { return '…'; } add_filter( 'excerpt_more', 'custom_excerptmore' );
— Support WizardAnswer 1