Limit Excerpt Text

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:

 

Comments are closed.