Shortcode in Pos Excerpt

We have renamed Post Grid plugin to Post Grid Combo
Ticket for: Post Grid
Shortcode in Pos Excerpt 1
Nov 03, 2022 02:36 AM 1 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe

I want to show the excerpt in the grid, but I'm using a shortcode in that excerpt.

And now the shortcode is displayed as text ... How can I execute the shortcode that I am using?

0 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
Shortcode in Pos Excerpt 2
Azizul Raju
Nov 05, 2022

Hi, by default this feature isn't available. but you can achieve this with a little bit of custom coding. I created a gist for you, just copy the code from the link and paste it on your theme function file.

gist link:

go to Apperace => Theme file Editor and from the right sidebar select the file function.php and paste the code very bottom of the file an update. or follow the screenshot:

and now if you have a shorcode under post Excerpt this will ececute.

Let us know if it helps.

If you found my answer helpful please rate us on WordPress. It’ll inspire us a lot, thank you.
You can post your review and rating here:

Sign in to Reply
Replying as Submit