List category posts
List Category Posts allows you to list posts by category in a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, t
This plugin is looking for maintainers! Please take a look at
this issue on
List Category Posts allows you to list posts by category in a post or page using the
[catlist] shortcode. When you're editing a page or post, directly insert the shortcode in your text and the posts will be listed there. The basic usage would be something like this:
The shortcode accepts a category name or id, the order in which you
want the posts to display, and the number of posts to display. You can
also display the post author, date, excerpt, custom field values, even
the content! A lot of parameters have been added to customize what to
display and how to show it. Check the full
to learn about the different ways to use it.
[catlist] shortcode can be used as many times as needed with
different arguments on each post/page.
[catlist id=1 numberposts=10]
There's an options page with only one option -for the moment-, new
options will be implemented on demand (as long as they make
sense). Right now the only global option is the
parameter, to define a default number of posts to show for each
instance (you can override this value by using the
parameter in your shortcode).
Read the instructions to learn which parameters are available and how to use them.
If you want to List Categories instead of posts you can use my other plugin List categories.
You can find Frequently Asked Questions here.
The different elements to display can be styled with CSS. you can define an HTML tag to wrap the element with, and a CSS class for this tag. Check Other Notes for usage.
Great to use WordPress as a CMS, and create pages with several categories posts.
The plugin includes a widget which works pretty much the same as the
plugin. Just add as many widgets as you want, and select all the
available options from the Appearence > Widgets page. Not all the
functionality in the shortcode has been implemented in the widget
yet. You can use the shortcode for the most flexibility.
Please, read the information on Other
to be aware of new functionality, and improvements to the plugin.
Some users have made videos on how to use the plugin, (thank you! you people are awesome!). Check them out here:
Support the plugin
If you've found the plugin useful, consider making a donation via PayPal or visit my Amazon Wishlist for books or comic books :).
Development is being tracked on GitHub. Fork it, code, make a pull request, suggest improvements, etc. over there. I dream of the day all of the WordPress plugins will be hosted on Git :)