Category Shortcode

0

This plugin creates the [Category]] Shortcode. The code takes 5 arguments: number: the number of posts to display. 0 equals the default number. -1 equals the total available. Order:

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

This plugin creates the [Category]] Shortcode. The code takes 5 arguments:

number: the number of posts to display. 0 equals the default number. -1 equals the total available.

Order: Ascending or Descending

Display Method: Full, Excerpt, Title

Order By: Author, Date, Title, Modified, Parent, ID, Rand, None, or Comment Count.

Category: this is the category id the category or categories that should be searched. Multiple categories can be specified in a comma separated list.

Example shortcode:

[Category number=’5′ method=’title’ order=’asc’ id=’11,45′ orderby=’comment_count’]

This will show 5 posts in ascending order of category 11 and 45 as arranged by comment_count and will display just the post titles.

Acknowledgements

A big thank you to g33kg0dd3ss for figuring out the 1.3 fix issue with the loop being broken. She contributed the patch fix.

Future Additions?

  1. Let plugin form allow for multiple category selections

  2. Let plugin form allow for multiple orderby methods

  3. In admin form restrict Number of posts to numbers only.

  4. In admin form setup a copy and paste script

  5. Accept a category name as a valid input

  6. Internationalization of the plugin

  7. Improve Formatting of Posts / Make formatting easier to edit./ Give user more control over formatting

  8. Allow attachments to come through

  9. Turn title links on or off.

  10. Allow comments in output

  11. Give user more control over the postformatting

  12. Add ability to modify thumbnail options through shortcode