WP List Posts Shortcode
v0.1michaelha · 2010年3月22日 上架
Adds a shortcode [wp_list_posts]. For example [wp_list_posts category=3 numberposts=7] will return an unordered list of the most recent 7 posts in the …
- 正在使用
- 50+
- 评分
- 5.0 / 5
- 累计下载
- 4,185
- 最近更新
- 2012年3月8日
1 条评价需要 WordPress 2.8+已测试到 3.3.2
贡献者
Adds a shortcode [wp_list_posts]. For example [wp_list_posts category=3 numberposts=7] will return an unordered list of the most recent 7 posts in the category ID 3.
Usage
This shortcode can be rendered inside a post, page or even in a widget area. Refer to the template tag https://codex.wordpress.org/Template_Tags/get_posts for input parameter.