Plugin Directory

List category posts

Other notes

Usage The arguments you can use are:

  • name - To display posts from a category using the category's name. Ex: [catlist name=mycategory]

  • id - To display posts from a category using the category's id. Ex: [catlist id=24]. You can include several categories: Ex: [catlist id=17,24,32] or exclude a category with the minus (-)
    If you use both arguments (wrong!), List Category Posts will show the posts from the category in 'name'.

  • orderby - To customize the order. Valid values are:

    • author - Sort by the numeric author IDs.
    • category - Sort by the numeric category IDs.
    • content - Sort by content.
    • date - Sort by creation date.
    • ID - Sort by numeric post ID.
    • menu_order - Sort by the menu order. Only useful with pages.
    • mime_type - Sort by MIME type. Only useful with attachments.
    • modified - Sort by last modified date.
    • name - Sort by stub.
    • parent - Sort by parent ID.
    • password - Sort by password.
    • rand - Randomly sort results.
    • status - Sort by status.
    • title - Sort by title.
    • type - Sort by type. Ex: [catlist name=mycategory orderby=date]
    • order - How to sort orderby. Valid values are:
    • ASC - Ascending (lowest to highest).
    • DESC - Descending (highest to lowest). Ex: [catlist name=mycategory orderby=title order=asc]
  • numberposts - Number of posts to return. Set to 0 to use the max number of posts per page. Set to -1 to remove the limit. Default: 5. Ex: [catlist name=mycategory numberposts=10]

  • date - Display post's date next to the title. Default is 'no', use date=yes to activate it.

  • author - Display the post's author next to the title. Default is 'no', use author=yes to activate it.

  • dateformat - Format of the date output. Default is getoption('dateformat')

  • template - File name of template from templates directory without extension. Example: For 'template.php' value is only 'template'. Default is 'default' that means template in code of plugin not in template file, that's an unordered list (ul html tag) with a CSS class: 'lcp_catlist'

  • excerpt - Display the post's excerpt. Default is 'no', use excerpt=yes to activate it.

Since version 0.2, List Category Posts includes a sidebar widget. It works pretty much the same as the plugin itself.

Your comments and feedback are welcome at: http://picandocodigo.net/programacion/wordpress/list-category-posts-wordpress-plugin-english/

New Code is welcome :D

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus (3 reporting)

33%
100,2,2
100,3,3
33,3,1
100,1,1

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(19 ratings)