Title: Inserting Excerpt
Last modified: February 6, 2020

---

# Inserting Excerpt

 *  [mindfulcreative](https://wordpress.org/support/users/mindfulcreative/)
 * (@mindfulcreative)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/inserting-excerpt-2/)
 * Is there any command to add the “Excerpt” into the Before or After loop field?
 * Maybe something like [wp excerpt]?
    -  This topic was modified 6 years, 2 months ago by [mindfulcreative](https://wordpress.org/support/users/mindfulcreative/).

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

 *  Plugin Author [Rafał Gicgier](https://wordpress.org/support/users/gicolek/)
 * (@gicolek)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/inserting-excerpt-2/#post-12409042)
 * Hello [@mindfulcreative](https://wordpress.org/support/users/mindfulcreative/),
 * The loop variables are setup for loop-inner.php file only, hence I am not sure
   about the above: [https://www.screencast.com/t/cFV4neAVp](https://www.screencast.com/t/cFV4neAVp).
 * Have you tried setting up your own templates? See: [https://pl.wordpress.org/plugins/acf-recent-posts-widget/](https://pl.wordpress.org/plugins/acf-recent-posts-widget/)**
   CREATING CUSTOM TEMPLATES** section 🙂
 * Sincerely,
    Rafal
 *  Thread Starter [mindfulcreative](https://wordpress.org/support/users/mindfulcreative/)
 * (@mindfulcreative)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/inserting-excerpt-2/#post-12415523)
 * Ok – I understand they are set up for loop-inner.php.
 * But I was wondering if there was a way to custom-insert the Excerpt into the 
   Widget fields in the Before / After field.
 * Can the templates be customized per widget? I am using 4 ACF Recent Post widgets
   on my homepage, I don’t want the same custom HTML for all of them, just one!
 *  Plugin Author [Rafał Gicgier](https://wordpress.org/support/users/gicolek/)
 * (@gicolek)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/inserting-excerpt-2/#post-12418305)
 * Hello,
 * Hmm, excerpt calls are required to be included within the loop, unless you want
   to print the excerpt for a specific post, right?
 * When it comes to custom templates per widget. Yes – you could assign a custom
   CSS class to each widget, then within the code of your custom templates, you 
   could conditionally alter the HTML based on the class associated with a widget.
   This way you could create an unlimited number of templates depending on the class
   of your widget 🙂
 * Would that work for your case scenario?
 *  Thread Starter [mindfulcreative](https://wordpress.org/support/users/mindfulcreative/)
 * (@mindfulcreative)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/inserting-excerpt-2/#post-12418551)
 * Yes! That’s perfect Rafal! Thank you – didn’t realize we could add custom classes!
 * If only I knew where or how to write it! Haha.
 *  Plugin Author [Rafał Gicgier](https://wordpress.org/support/users/gicolek/)
 * (@gicolek)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/inserting-excerpt-2/#post-12421708)
 * Hello [@mindfulcreative](https://wordpress.org/support/users/mindfulcreative/),
 * Well, I am afraid there’s no other way to achieve that yet 🙂
 * I could help you out with that problem, however, given the scope and the fact
   that it’s not a bug or an issue request I can only propose to do so through a
   paid request.
 * If you’d be interested in that please do not hesitate to reach out to me via 
   [https://codeable.io/developers/rafal-gicgier/?ref=PjTwX](https://codeable.io/developers/rafal-gicgier/?ref=PjTwX)
 * Sincerely,
    Rafal

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

The topic ‘Inserting Excerpt’ is closed to new replies.

 * ![](https://ps.w.org/acf-recent-posts-widget/assets/icon-256x256.png?rev=2945083)
 * [ACF Recent Posts Widget](https://wordpress.org/plugins/acf-recent-posts-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/acf-recent-posts-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/acf-recent-posts-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-recent-posts-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-recent-posts-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-recent-posts-widget/reviews/)

## Tags

 * [excerpt](https://wordpress.org/support/topic-tag/excerpt/)

 * 5 replies
 * 2 participants
 * Last reply from: [Rafał Gicgier](https://wordpress.org/support/users/gicolek/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/inserting-excerpt-2/#post-12421708)
 * Status: not resolved