Shortcode in Pos Excerpt

Ticket for: Post Grid
0
Shortcode in Pos Excerpt 1
Anonymous
Nov 03, 2022 02:36 AM 1 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe
Flag(0)

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
0
Shortcode in Pos Excerpt 2
Azizul Raju
Nov 05, 2022
Flag(0)
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: https://gist.github.com/azizulDev/f6fe40c547eba3eb7ccf2218db24e8ac 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: https://i.imgur.com/4E2HNds.png and now if you have a shorcode under post Excerpt this will ececute. Screenshot: https://i.imgur.com/vDsmpXp.png Let us know if it helps. Regards. 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: https://wordpress.org/support/plugin/post-grid/reviews
Sign in to Reply
Replying as Submit