Mô tả
Retrieves a list of the most recent posts.
Configuration
You may pass parameters when calling the function to configure some of the options.
Example: mdv_recent_posts(10, '', '<br />', true, 5, false, false)
The parameters:
$no_posts – sets the number of recent posts to display
$before – text to be displayed before the link to the recent post
$after – text to be displayed after the link to the recent post
$hide_pass_post – whether or not to display password protected posts
$skip_posts – allows skipping of a number of posts before showing the number of posts specified with the $no_posts parameter
$show_excerpts – allows the post excerpt to be output after the post title
$include_pages – allows recent pages to be show with recent posts
Version History
1.1.2 – Added a space before rel=”bookmark”
1.1.3 – Fix the space for real. Props Sandro Bonazzola
1.2 – Use the esc_* functions and cleanup coding standards
Cài đặt
- Upload
recent-posts.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place
<?php mdv_recent_posts(); ?>
in your templates.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Các bài viết gần đây” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Các bài viết gần đây” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.