Title: [shortcode] in excerpt
Last modified: November 20, 2018

---

# [shortcode] in excerpt

 *  Resolved [jamesashcroftGD](https://wordpress.org/support/users/jamesashcroftgd/)
 * (@jamesashcroftgd)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/shortcode-in-excerpt-2/)
 * I’m trying to use a shortcode in my blog post that’s displayed using Post Grid–[
   caption] on an image for example – but it’s not being executed and as a result,
   the actual [caption] code is showing on the front end. Has anyone come across
   this issue before?

Viewing 1 replies (of 1 total)

 *  Plugin Author [PickPlugins](https://wordpress.org/support/users/pickplugins/)
 * (@pickplugins)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/shortcode-in-excerpt-2/#post-10902336)
 * Thanks for your post,
 * the shortcode will not display on excerpt, there is a filter hook for filter 
   excerpt you can display your own excerpt.
 * [https://www.pickplugins.com/documentation/post-grid/filter-hooks/filters-post_grid_filter_grid_item_excerpt/](https://www.pickplugins.com/documentation/post-grid/filter-hooks/filters-post_grid_filter_grid_item_excerpt/)
 * you can get post id in loop by get_the_id() function.
 * Regards

Viewing 1 replies (of 1 total)

The topic ‘[shortcode] in excerpt’ is closed to new replies.

 * ![](https://ps.w.org/post-grid/assets/icon-256x256.gif?rev=3295086)
 * [Post Grid](https://wordpress.org/plugins/post-grid/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-grid/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-grid/)
 * [Active Topics](https://wordpress.org/support/plugin/post-grid/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-grid/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-grid/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [PickPlugins](https://wordpress.org/support/users/pickplugins/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/shortcode-in-excerpt-2/#post-10902336)
 * Status: resolved