Sometimes we may need to show limited or extra excerpt content for posts from some specific category/taxonomy. We can easily control excerpt length using the_excerpt filter. And with help from has_term function, we can define separate length for one or more specific categories. In the above code, line 3 defines… Read More »
Tag: the_excerpt
How to add “Read More” link with the_excerpt()
When we use the_excerpt() to show the post excerpt, by default it shows ‘[…]’, which means “read more”. But what if we want to show an actual “read more” text (or maybe something else) with link to the post? We can achieve this by filtering the_excerpt. But that also has… Read More »