How to control manual excerpt length?

Take a look on my answer here: Best Collection of Code for your functions.php file If I understood your question correctly, it does what you are looking for. Place this in functions.php: function excerpt($num) { $limit = $num+1; $excerpt = explode(‘ ‘, get_the_excerpt(), $limit); array_pop($excerpt); $excerpt = implode(” “,$excerpt).”… (<a href=”” .get_permalink($post->ID) .” “>Read more</a>)”; … Read more

Compare the_excerpt() to the_content()

What you’re trying to do with the video is exactly what Post Formats were created to handle. Add this to functions: add_theme_support( ‘post-formats’, array( ‘video’ ) ); And then this to handle your Read More link: if( !has_post_format( ‘video’ ) ) { echo ‘<a href=”‘ . get_permalink() . ‘”>Read More&hellip;</a>’; } else { echo ‘<a … Read more

Remove more or […] text from short post

The codex is your friend and should be your first stop 🙂 The […] is added by the_excerpt(). There is a filter supplied called the excerpt_more filter that is specifically included to customize the read more text after the excerpt To remove the […] after the excerpt text, you can do the following function new_excerpt_more( … Read more