Custom “More” to Follow Excerpts

If you’re not a fan of ” […]” or “… Continue reading →” you can easily setup your own “more” text.

add_filter( 'excerpt_more', 'dot_dot_dot', 11 );
function dot_dot_dot( $more ) {
    return '... <a href="'. get_permalink() .'" class="keep_reading">Continue reading &raquo;</a>';

Define A Default Excerpt

I can’t actually think of an appropriate time and place for this, so if you know of one, please share. But the point is, if you want to create a default excerpt to be used on all new posts, here’s how to set that up.

function setup_default_excerpt($excerpt) {
	$excerpt .= 'Put your default excerpt here.';
	return $excerpt;