Directory / plugin

WP List Posts Shortcode

v0.1 · by michaelha

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 …

View on WordPress.org

About this plugin

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 tags