How to shorten the_content() in WordPress Themes

If you’ve ever created a WordPress Theme and you’re not happy with the way it outputs text to your theme, you might be interested in a handy plugin called the_excerpt_reloaded(). You can

  • shorten the number of words being printed to screen
  • you can add a handy “Read More” or whatever link
  • allow or disallow certain HTML tags (nice!)
  • and quite a bit more.

Have a look at

the_excerpt_reloaded can replace any of the traditional WordPress Functions and do a lot more.

  • the_content()
  • the_excerpt()
  • the_content_rss() (depreciated and unreliable in WP version 2.7)
  • the_excerpt_rss()

Happy Theming!





Jay is the CEO and founder of WP Hosting, a boutique style managed WordPress hosting and support service. He has been working with Plesk since version 9 and is a qualified Parallels Automation Professional. In his spare time he likes to develop iOS apps and WordPress plugins, or draw on tablet devices. He blogs about his coding journey at http://wpguru.co.uk and http://pinkstone.co.uk.