外掛說明
Use a shortcode to display your posts. Display them by tag, number of posts, order (asc, desc), orderby (date, time created, none, ID, author, title, parent, rand), pagination (pages), and display the results in one column or two.
Intended to be used with object caching (memcache) for maximum efficiency.
[Display Posts tag=’a tag’ pages=’true’ posts=’7′ order=’desc’ orderby=’date’]
cat
- Category name. Add multiple categories separated by commas. (Note: Using cat and tag will increase query load dramatically)
tag
- Tag name. Add mulitiple tags separated by commas.
pages
- True or false. Display the posts with pagination or all on one page.
posts
- Number of posts to display. If pages is true it is the number of posts per page.
order
- Display the posts in descending or ascending order.
orderby (There are many options including)
- date
- time created
- none
- ID
- author
- title
- parent
- rand
Requires PHP version 5.3.0 or greater.
安裝方式
Admin Panel
- Search for l7 Display Posts.
- Install plugin.
- Activate plugin.
Manual Installation
- Upload the entire
/l7-display-posts
directory to the/wp-content/plugins/
directory. - Activate Primary Tag Plugin through the ‘Plugins’ menu in WordPress.
常見問題集
- How do I utilize the object caching feature for maximum speed and efficiency?
-
To maximize this plugins object caching features it is recommended that a caching plugin be installed. There are many free caching plugins available. It order to utilize memcache you may have to contact your hosting provider.
使用者評論
參與者及開發者
變更記錄
0.1.0
- First release