Limit Excerpt Text

October 17, 2014 (4 years ago)
Uncategorized

When you have layout areas with specific sizes, you need to limit the amount of text that appears. Rather than modify the excerpt size for the whole site, you can use this function:

 Then, call it in your template (from inside the loop) like this:

 

Skip to toolbar