The WordPress Category Posts plugin, version 2.0, has been released and is now available for download via the WordPress Extend Plugin Directory. WordPress Category Posts is a plugin for WordPress that creates a linked list of the posts in a specific category.
Open Source Software, Watershed Studio, WordPress, WordPress Category Posts Plugin, WordPress Plugins
This entry was posted
on Friday, September 5th, 2008 at 12:08 am and is filed under Server Side Software, Watershed News, WordPress, WordPress Plugins.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
September 10th, 2008 at 7:21 am
Hallo, and thank you for this useful plugin. Is it correct, as the source code shows, that the tag wp_cat_posts does not create a list (li and /li) when wrapped like this: (ul)(?php wp_cat_posts(12); ?)(/ul)? I would like to affect each single link with my CSS-dfinitions.
September 10th, 2008 at 9:58 am
Mrs_Brown,
This is currently used as a very basic display of all posts in a specific category and it is not always ideal to force it into a list. (In the future we’ll add that option, as a number of people have requested it.)
To force it into a list you’d change the code to something like this:
echo '‘;- ID) . ‘”>’ . $post->post_title . ‘
foreach( (array) $posts as $post ) {
echo ‘
‘;
}
echo ‘
‘;
And of course you could change that to suit your needs.