Bài viết mới nhất hay còn gọi là Recent posts là một trong những thành phần quan trọng của blog, giúp website của bạn trong chuyên nghiệm hơn. Bài hướng dẫn ngày hôm nay sẽ giúp bạn những bài viết hiển thị với tiêu đề thay đổi, có tóm tắt nội dung, chuyển bài tự động
<style type=’text/css’>
img.recent_thumb {padding:1px;width:60px;height:60px;border:0;
float:left;margin-right:10px;border:1px solid #999;}
.recent_posts_with_thumbs {float:left;width: 100%;min-height: 70px;padding: 0;font-size:12px;}
ul.recent_posts_with_thumbs li {padding-bottom:5px;padding-top:5px;min-height:65px;}
.recent_posts_with_thumbs a {text-decoration:none;}
.recent_posts_with_thumbs strong {font-size:10px;}</style>
var numposts = 5;
var showpostthumbnails = true;
var displaymore = false;
var displayseparator = true;
var showcommentnum = false;
var showpostdate = false;
var showpostsummary = true;
var numchars = 100;
Chú ý:
– width:60px;height:60px: Là kích thước hình ảnh hiển thị.

