Recent Commented Posts Widget displays your most recently commented posts. Plugin could display thumbnails of your posts via a thumbnail custom field or images in content or an image attached to post. (sorry, my English is poor)
- Make sure you are running WordPress version 2.8 or better. It won't work with older versions.
- Download the zip file and extract the contents.
- Upload the 'recent-commented-posts' folder to your plugins directory (wp-content/plugins/).
- Activate the plugin through the 'plugins' page in WordPress.
- See 'Appearance'->'Widgets' to place it on your sidebar. Set the settings
If you don't use 'Widgets', add following codes (Click "Kodu Al" to copy textplain) in your 'sidebar.php' to place 'Recent Commented Posts' on your sidebar. Change the parameters as you want:
10, //Number of posts to show
'excerpt' => 60, //excerpt length (letters)
'cusfield' => 'thumbnail', //custom field name of thumbnail image
'w' => 48, //width
'h' => 48, //height
'firstimage' => true, //get first image of post content
'atimage' => false, //get first attached image of post
'defimage' => 'http://www.yakupgovler.com/default.jpg' //default thumbnail image
//print most recent posts
Widget's screenshot in 'Apperance'->'Widgets'
Widget's options allow you to change your random posts list displaying.
Title - Your random posts widget's title on your sidebar.
Number of posts to show - How many posts to display
Excerpt length (letters) - You know that
Thumbnail Custom Field Name - If you want to display the thumbnail of your posts via a custom field, write its name.
Get first image of post - If you don't want to use custom field, plugin will get first image from your post content.
Get first attached image of post - Plugin gets first attached image of post.
Default image - If post has no image, plugin display this image. Ex: http://www.yakupgovler.com/default-image.png
Notice: If you use three options, plugin uses custom field image firstly. If the post has no custom field, it gets first image from content. At last it gets first attached image. I suggest not to use "Get first attached image of post" for performance. It queries much more.
Height, Width - Thumbnail image dimensions.
= 1.1 =
* Fixed a bug about displaying double post.
= 1.0 =
* Initial release version.
Notice: If you translate it in your language, please let me know.
My Other English Plugins
- Advanced Most Recent Posts: displays your recent posts by customising easily.
- Random Tags Cloud Widget: A fantastic widget to manage your tags cloud.
- Advanced Random Posts: It shows random posts from selected categories or current categories or all posts, it is very useful.
- Advanced Blogroll Widget: display your bookmarks as you want. You can customize your blogroll displaying.
- Comment Approved Notifier Plugin: sends an e-mail to your commenters when you approve their comments.
Bu yazının kısa bağlantısı http://www.yakupgovler.com/?p=1056.
Yazılarımı RSS aboneliği ile takip edebilir, yeni yazılarıma kolaylıkla ulaşabilirsiniz. Bunun için ise RSS adresimi kullanabilirsiniz.