• Hey everyone,

    I have managed to set the length of the excerpt but I want to be able to remove the read more thats added after it, so that there is nothing after the … of the content.

    This is what I have at the moment.

    function custom_excerpt_length( $length ) {
    	return 30;
    }
    add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );

    Hope someone can help!

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing the read more from excerpt’ is closed to new replies.