Right Reading

concept to publication

A WordPress plugin, and how to find category ID numbers

This is post that will be of interest only to WordPress bloggers. Fernando Briano, a programmer based in Uruguay, has created a simple WordPress plugin that produces a list of posts by category. You can adjust the number of items shown, but the adjustment is global — it would be nice to be able to control the number of items in each instance that you use it. Also, the posts are listed in chronological order, and there is no option to change that.

To use the plugin you place some code in your post that calls up the category by ID number. Many plugins use ID numbers. But since version 2.5, WP doesn’t show ID numbers in the administration panel. What to do? The answer is to click on the category in the “manage categories” list — the ID number is shown in the url.

Following are some examples of the plugin in action.

Some posts about graphic design
[catlist=32]

Some posts about Photoshop
[catlist=72]

Some posts about translation
[catlist=23]

Some posts about book publishing
[catlist=35]

.

Previous

Graphic design fads and Olympics posters

Next

Never the same stream twice

1 Comment

  1. Hi, thanks for commenting on my plugin. I’m working on an update, which will include among other options, being able to call the category by its name, instead of by ID, and to control the number of posts for every time you use it.

    Thanks again.
    Regards

Leave a Reply

Some rights reserved 2018 Right Reading. This work is licensed under a Creative Commons (attribution, noncommercial, no derivs: 3.0) License (US), although some of the work this blog incorporates may be separately licensed. Text and images by Thomas Christensen unless otherwise noted. For print permissions or other inquiries please request via rightreading.com/contact.htm.