Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How can I remove the 'read more' link from a post excerpt on a blog/archive page when there is nothing more to read...when the length of the post is shorter than the excerpt?
Are you using the_excerpt() or $post->post_excerpt? Use $post->post_excerpt and count your words then if the limit exceeds show the read more otherwise don't show.
Required, but never shown