>
Download This Plugin | |
Download Elegant Themes | |
Name | Guerrilla's Excerpts |
Version | 1.0 |
Author | Mike Smith |
Rating | 100 |
Last updated | 2014-04-17 05:51:00 |
Downloads |
881
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Guerrilla's Excerpts plugin added 15 bytes of resources to the Home page and 28 bytes of resources to the sample Post page.
Guerrilla's Excerpts plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Guerrilla's Excerpts plugin ads no tables to your Wordpress blog database.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.