Adding excerpt to basic recent posts

Hi
I saw there are many questions on this matter and I followed instructions from other support tickets but still did not work. I want the basic recent posts element to include date, category and read more.
I downloaded the child theme, added the code to functions and added a raw content with shortcode but nothing appeared. Would appreciate your assistant as to what I did wrong

Hello @sapphire,

Thanks for reaching out. :slight_smile:

Please try out the solution mentioned in following thread and let us know how it goes.

Thanks.

Thank you so much for the prompt response!

For some reason, it didn’t work. I am explaining in more details what I did maybe it will help to pinpoint what I did wrong.
I downloaded the child theme and activated.
Then pasted the code you sent in the function file php
Then went to the page that has the basic recent posts element and added the following shortcode in a raw content element placed in the same section of page as “recent posts” :
[x_recent_posts count=“2” show_excerpt=“true”]

Hi @sapphire,

I checked the site on your account and it’s behind a coming soon page. I can’t do initial checking, instead, would you mind providing your admin login credentials in the secure note?

And I also recommend using the bundled grid plugins like these
https://theme.co/apex/forum/t/extension-the-grid/74,
https://theme.co/apex/forum/t/extension-essential-grid/68,

Instead of customizing the existing shortcodes, it’s old and builder is evolving. Plus, recent posts element is meant to be displayed like that :slight_smile:

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.