Code To Display Recent Posts In WordPress Blog

Posted by

Hello All,

In order to display recent posts of wordpress blog in any page one can add below mentioned code:

recent_post_code

This code will display recent 10 posts from the database. One can change the value upon the requirement.

Thanks,

Shane G.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.