Title: Get Better Excerpt
Author: jamieschmid
Published: <strong>7 Meán an tSamhraidh, 2009</strong>
Last modified: 6 Aibreán, 2016

---

Search plugins

![](https://ps.w.org/get-better-excerpt/assets/banner-772x250.png?rev=1053571)

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.

![](https://ps.w.org/get-better-excerpt/assets/icon-128x128.png?rev=1053571)

# Get Better Excerpt

 By [jamieschmid](https://profiles.wordpress.org/jamieschmid/)

[Download](https://downloads.wordpress.org/plugin/get-better-excerpt.zip)

 * [Details](https://ga.wordpress.org/plugins/get-better-excerpt/#description)
 * [Reviews](https://ga.wordpress.org/plugins/get-better-excerpt/#reviews)
 *  [Installation](https://ga.wordpress.org/plugins/get-better-excerpt/#installation)
 * [Development](https://ga.wordpress.org/plugins/get-better-excerpt/#developers)

 [Support](https://wordpress.org/support/plugin/get-better-excerpt/)

## Description

** this plugin is no longer being update. Please feel free to adopt me! **

The Get Better Excerpt plugin works almost identical to the built in get_the_excerpt()
and the_excerpt() functions except it returns whole words instead of cutting off
the excerpt as the existing function does.

This plugin is maintained by Christopher Ross, http://thisismyurl.com or you can
find him on Twitter at http://twitter.com/thisismyurl/

### Nuashonruithe

Updates to the plugin will be posted here, to [thisismyurl.com](http://thisismyurl.com/downloads/get-better-excerpt/)

### Síntiúis

If you would like to donate to help support future development of this tool, please
visit [thisismyurl.com](http://thisismyurl.com/downloads/get-better-excerpt/)

## Installation

To install the plugin, please upload the folder to your plugins folder and active
the plugin.

## FAQ

  How do I display the results?

Insert the following code into your WordPress theme files:

  General results

Without passing any parameters, the plugin will return ten results or fewer depending
on how many posts you have.

thisismyurl_get_better_excerpt();

  Altering the before and after values

By default the plugin wraps your code in list item (<li>) tags but you can specify
how to format the results using the following code:

thisismyurl_get_better_excerpt(‘before=<p>&after=</p>’);

  Adding a Link

If you’d like to link to the post (remember it’s not live yet) you can do so by 
calling:

thisismyurl_get_better_excerpt(‘link=true’);

  How many words?

You can specify the number of words returned using the option:

thisismyurl_get_better_excerpt(‘words=20’);

  Skip the excerpt?

If you would like to load the content directly, skipping the entered excerpt:

thisismyurl_get_better_excerpt(‘skipexcerpt=true’);

  Include a trailing character?

By default the plugin includes a … after the excerpt, you can remove it or change
it by altering:

thisismyurl_get_better_excerpt(‘trail= …’);

  Return a whole sentence

If you would like to return whole sentences rather than words, you can control the
number of sentences to return:

thisismyurl_get_better_excerpt(‘sentence=1’);

  Echo vs. Return

Finally, if you’d like to copy the results into a variable you can return the results
as follows:

thisismyurl_get_better_excerpt(‘show=false’);

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Get Better Excerpt” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ jamieschmid ](https://profiles.wordpress.org/jamieschmid/)
 *   [ christopherross ](https://profiles.wordpress.org/christopherross/)

[Translate “Get Better Excerpt” into your language.](https://translate.wordpress.org/projects/wp-plugins/get-better-excerpt)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/get-better-excerpt/),
check out the [SVN repository](https://plugins.svn.wordpress.org/get-better-excerpt/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/get-better-excerpt/)
by [RSS](https://plugins.trac.wordpress.org/log/get-better-excerpt/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.0

 * uses wp_trim_words()

#### 1.5.0

 * Tested for WordPress 3.2
 * Optimized code

#### 1.0.2

 * removed update functions

1.0.0 –
 Official Release Added Sentence options

## Meta

 *  Version **2.0.0**
 *  Last updated **10 mbliana ago**
 *  Active installations **20+**
 *  WordPress version ** 3.2.0 or higher **
 *  Tested up to **4.1.0**
 *  Language
 * [English (US)](https://wordpress.org/plugins/get-better-excerpt/)
 * Tags
 * [excerpt](https://ga.wordpress.org/plugins/tags/excerpt/)[post](https://ga.wordpress.org/plugins/tags/post/)
   [posts](https://ga.wordpress.org/plugins/tags/posts/)[theme](https://ga.wordpress.org/plugins/tags/theme/)
   [words](https://ga.wordpress.org/plugins/tags/words/)
 *  [Advanced View](https://ga.wordpress.org/plugins/get-better-excerpt/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/get-better-excerpt/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/get-better-excerpt/reviews/)

## Contributors

 *   [ jamieschmid ](https://profiles.wordpress.org/jamieschmid/)
 *   [ christopherross ](https://profiles.wordpress.org/christopherross/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/get-better-excerpt/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://thisismyurl.com/)