Tag Info

New answers tagged


Maybe your browser is trying to exchange your ... with the correct HTML entity but somehow fails to do so. Use … to generate the three dots… substr_replace(strip_tags(get_the_excerpt()), "… ", 200);


the_excerpt() ... Displays the excerpt of the current post after applying several filters to it including auto-p formatting which turns double line-breaks into HTML paragraphs. It uses get_the_excerpt() to first generate a trimmed-down version of the full post content should there not be an explicit excerpt for the post. get_the_excerpt() ...


I actually never got to add this section to my answer you are referring to. To remove the read more link from the excerpt is quite easy, you just need to compare $count with $excerpt_length. $count will always be between 0 and the value assigned to $excerpt_length. So what we want to do here is to add the read more link in a condition that states that if ...

Top 50 recent answers are included