Title: [Plugin: Get Post] Added excerpt
Last modified: August 20, 2016

---

# [Plugin: Get Post] Added excerpt

 *  [wdwarren](https://wordpress.org/support/users/wdwarren/)
 * (@wdwarren)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-get-post-added-excerpt/)
 * Hi There
 * I needed to add the excerpt of a post so I added the line
 * `$current = str_replace('{excerpt}', get_the_excerpt(), $current);`
 * to your `get()` function in `class-get-post-getter.php`
 * I like how easy this plugin is to extend. Good work!
 * [http://wordpress.org/extend/plugins/get-post/](http://wordpress.org/extend/plugins/get-post/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [jtatum](https://wordpress.org/support/users/jtatum/)
 * (@jtatum)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-get-post-added-excerpt/#post-2289347)
 * Cool. I’ll go ahead and put this in the code so it will be a part of the next
   release.
 *  [ranieri71](https://wordpress.org/support/users/ranieri71/)
 * (@ranieri71)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-get-post-added-excerpt/#post-2289405)
 * This sounds like something I could use. where exactly does this go in class-get-
   post-getter.php?
 *  Plugin Author [jtatum](https://wordpress.org/support/users/jtatum/)
 * (@jtatum)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-get-post-added-excerpt/#post-2289408)
 * Hi raineri71,
 * If you get the latest version of the file from github, it has this in it already.
   I’ve been a little slow to release the version with the change included. Apologies.
   There are two things I want to add first.
 * [https://raw.github.com/jtatum/get-post/master/class-get-post-getter.php](https://raw.github.com/jtatum/get-post/master/class-get-post-getter.php)
 *  [Vikas Thakur](https://wordpress.org/support/users/cvikasthakur/)
 * (@cvikasthakur)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-get-post-added-excerpt/#post-2289443)
 * Thanks for the plugin man. I modified it a bit to fetch a few more post details(
   thumnails, Yoast SEO fields, comment count). Works like a charm.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Get Post] Added excerpt’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/get-post.svg)
 * [Get Post](https://wordpress.org/plugins/get-post/)
 * [Support Threads](https://wordpress.org/support/plugin/get-post/)
 * [Active Topics](https://wordpress.org/support/plugin/get-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/get-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/get-post/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Vikas Thakur](https://wordpress.org/support/users/cvikasthakur/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-get-post-added-excerpt/#post-2289443)
 * Status: not a support question