This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Guerrilla’s Excerpts


This plugin allows more than the built-in the_excerpt function in your WordPress themes. It lets you choose the excerpt length, choose which html tags are allowed, the link text to full post, the html container of the excerpt (p, div, span or plain text) and whether to show the smilies that are output.

How to add it to your theme

You will need to find <?php the_excerpt(); ?> and/or <?php the_content(); ?> in your theme and replace it with <?php guerrilla_excerpt('120','Continue Reading','all','p','yes'); ?>. You can also use just the defaults (mentioned below) by adding this code instead <?php guerrilla_excerpt(); ?>

  • ‘120’ is what controls the length of the excerpt output (defaults to ’40’)
  • ‘Continue Reading’ is the text for the link to read the full article (defaults to ‘Continue’)
  • ‘all’ is the html tags that you’re allowing with the output. You can place specific html tags in this space like this <p><a><strong>, you can leave it blank to simply output a large block of text or you can add the word ‘all’ to use all html tags (defaults to ”)
  • ‘p’ is the container that wraps the link to view the full article. You can use ‘p’, ‘div’, ‘span’, or ‘plain’ in this spot (defaults to ‘p’)
  • ‘yes’ lets smilies show up in the excerpt (defaults to ‘no’)

A special thank you

I’ve been personally using the excerpt re-reloaded with my theme development for a couple of years now and it’s been working great but I always ran into the same few issues (not allowing paragraph tags, adding a … to the end of the content automatically, etc) so I decided to finally do something about it.

Without that plugin, this plugin wouldn’t exist, so thank you luca.


  1. Upload the ‘GuerrillaExcerpts folder’ to the ‘/wp-content/plugins/’ directory or add it directly in your WordPress admin panel
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Find and replace the_excerpt and/or the_content in your theme files with <?php guerrilla_excerpt('120','Continue Reading','all','p','yes'); ?>

Contributors & Developers

“Guerrilla’s Excerpts” is open source software. The following people have contributed to this plugin.