Skip to content

Brian Krogsgard

is Constantly Curious

  • Get in touch
  • About me

Tag: wp_trim_words()

Quick tip: Use wp_trim_words() to limit words in WordPress

Posted on February 22, 2012March 19, 2016 by Brian Krogsgard

wp_trim_words() is a handy function to limit things in WordPress to a particular number of words. Here’s an example of how to use it.

Howdy :)

My name is Brian. I'm a web developer in Birmingham, Alabama. I love building websites, and I build them with WordPress. I blog about the web and WordPress around here. I tweet too. Have something to share with me? Get in touch!
© Brian Krogsgard, 2016 | Made with WordPress