Skip to content

Instantly share code, notes, and snippets.

@Balachandark
Created October 9, 2019 11:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Balachandark/29e2c2f7858edf258765df81b9733a20 to your computer and use it in GitHub Desktop.
Save Balachandark/29e2c2f7858edf258765df81b9733a20 to your computer and use it in GitHub Desktop.
Remove three dots from the content
function new_excerpt_more( $output, $output_filter ) {
$output = str_replace( ' …' , '', $output );
return $output;
}
add_filter('astra_the_content_more_link', 'new_excerpt_more', 10, 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment