function twentyeleven_custom_excerpt_more( $output ) {}

Adds a pretty "Continue Reading" link to custom post excerpts.
To override this link in a child theme, remove the filter and add your own function tied to the get_the_excerpt filter hook.


  • $output

Source code

function twentyeleven_custom_excerpt_more( $output ) {

	if ( has_excerpt() && ! is_attachment() ) {

		$output .= twentyeleven_continue_reading_link();


	return $output;



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: