BACK TO DIRECTORY

WP List Posts Shortcode

by michaelha

5.0
(1 ratings)

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.

Plugin Details

Active Installs
50
Total Downloads
3,978
Version
0.1
Requires WP
2.8
Requires PHP
Tested Up To
3.3.2
Added
2010-03-22
Last Updated
2012-03-07 11:11pm GMT

Ratings

5
1
4
0
3
0
2
0
1
0