Hi @gabriela2408,
I hope you are well today and thank you for your question.
To achieve this you have to develop a new widget using the Sparkling theme “Popular Posts” widget. You can refer the code from the solution posted in the following reply.
https://colorlibsupport.com/t/popular-posts-widget-to-display-recent-posts/#post-27789
Please advise if you have more questions or if i can be of any further assistance.
Best Regards,
Movin