Display recent post with thumbnail without plugin

We have always show recent post in widget in wordpress to show blog post and for show post thumbnail always need plugin to show post thumbnail. today i tell you that how it easy to show recent post with thumbnail without plugin in wordpress theme.

first you need to decide thumbnail size which you want in recent post in widget so go to function.php file and paste below code according to your need.

 

After add this code in function file now you add below code for show recent post in widget and also put css in your style file of theme.

put below code in your css file

If you want to show your recent post with more feature and filter you can use plungin named “Recent Posts Widget Extended” which have many options.

“Display recent post with thumbnail without plugin”