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 ta
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.
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(); ?>
<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 '')
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.