WP List Posts Shortcode

Plugin Banner

WP List Posts Shortcode

by michaelha

Download
Description

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.

  1. Download the plugin
  2. Unzip to the ‘wp-content/plugins’ directory
  3. Activate the plugin

0.2

  • Updated readme.txt and plugin description. Added one example.

0.1

  • Initial release.
Back to top