WordPress Plugin: Posts By Category Widget

Wordpress Plugin: Posts By Category Widget

Wordpress Plugin: Posts By Category Widget

This simple plugin is a widget that displays a list categories and the posts in those categories separated by category on your widgetized sidebar.

Requires at least: 2.1
Tested up to: 2.9.1

Download


Demo


Installation

  1. Upload `postbycategory.php` to the `/wp-content/plugins/` directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use your ‘Presentation’/'Sidebar Widgets’ settings to drag and configure


Configuration

  • Widget title: the title of the widget
  • List types: ul for bulleted list, p for paragraph, br for paragraph with line breaks
  • Post count: Number of random posts you would like to be displayed, must be a number
  • Category: Only this category will be selected as the source, must be the ID of the Category


Change Log

  • 1-January-2010: Plugin created

Tags: , ,

5 Responses to “WordPress Plugin: Posts By Category Widget”

  1. Hernan Silva says:

    OMG! Nice plugin, thanks!!!

  2. Really good article. Good info for anyone who’s into design.

  3. David says:

    hmm… Nice post.

  4. Troy Dean says:

    Nice plugin. Any idea how to get it to display the categories in the order you specify by using the My Categories Order plugin? Any help would be greatly appreciated.

    Keep up the great work.

  5. admin says:

    You would have to adjust lines 200 to 204 of postbycategory.php to include orderby in the arguments array of the get_categories function (See http://codex.wordpress.org/Template_Tags/wp_list_categories).

    Let me know if you have anymore questions or anything to contribute to the plugin. Thanks!

Leave a Reply