Tag Archive: excerpt
Conditional Excerpt Function
I use this function on practically every site that has any posts/archives section. This enables us to display a standardized excerpt inside or outside the Loop.
Arguments (all optional):
$ex_length the word count
$postref the post or text to excerpt. Can be an ID, a post object, a block of text, or if called within the Loop, null or not given
...