How to show recent post on sidebar as pic ?

barlow21

Junior Member
Joined
Aug 15, 2011
Messages
192
Reaction score
36
I want to appear my recent posts as thumbnail clickable linking to my post on my wordpress sidebar .Is there any plug in ?
 
This Plugin might help:

Code:
http://wordpress.org/extend/plugins/yd-recent-posts-widget/
 
Hi barlow21,

What you can do is go to your dashboard, select the post you want to add a thumbnail to and scroll down to featured image and click on set featured image.

If you don't have featured image add this code to your functions.php (Back-up functions.php before you add the code):

Code:
add_theme_support( 'post-thumbnails' );
Then upload the thumbnail you want and set as featured image.

Go to appearance then editor and open loop.php, copy paste the content in notepad++ and find this line:
Code:
<?php the_content( __( 'Continue reading <span>→</span>', 'twentyten' ) ); ?>
Then put this code before the first one:
Code:
<?php the_post_thumbnail();?>
then copy paste the whole thing back to loop.php.

You can customize by changing the CSS.

Hope this works for you,

KnowledgeFirst
 
Does it display on homepage ?
yd-recent-posts-widget/
show only on my post but not my homepgae
 
This WordPress plugin installs a new sidebar widget that can display the latest posts with automatic thumbnail images. It also creates new PHP functions that can be included in any template to display a posts list with thumbnails and excerpts
 
I just want to show post thumbnail and Title only .Is it possible ?
because that plug in is showing also some description in sidebar .
 
Back
Top