Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WordPress: custom excerpt elipsis
// -------------------------------------------------------------------
// ---------- Change default [...] string for post excerpts ----------
// -------------------------------------------------------------------
<?php
function new_excerpt_more($more) {
return '{...}';
}
add_filter('excerpt_more', 'new_excerpt_more');
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment