Summarize Posts

Offers highly flexible alternatives to WordPress' built-in get_posts() function, including the ability to paginate results.

Author:Everett Griffiths (profile at wordpress.org)
WordPress version required:3.0.1
WordPress version tested:3.1.4
Plugin version:0.7
Added to WordPress repository:25-02-2011
Last updated:14-09-2011
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:http://www.fireproofsocks.com/
Total downloads:1 453
Active installs:20+
plugin download
Click to start download

Summarize posts offers a better-architected and more flexible alternative to the built-in WordPress get_posts(), query_posts(), and WP_Query methods for retrieving posts. The new functions are exposed both to your theme files and to your posts via shortcode tags. You can search by taxonomy terms, post title, status, or just about any other criteria you can think of. You can also paginate the results and format them in a flexible and tokenized matter. These functions are loop-agnostic: they can be used inside or outside of the loop.

You can easily search by taxonomy term, you can easily sort results by custom fields, and you can paginate results.

// Example Usage 
$Q = new GetPostsQuery();
$Q->set_output_type(ARRAY_A);
$results = $Q->get_posts();
foreach ($results as $r):
?>
    <li><a href="<?php print $r['permalink']; ?>"><?php print $r['post_title']; ?></a></li>
<?php
endforeach;
?>
<?php
// Example Usage 
$args = array('author'=>'fireproofsocks');
SummarizePosts::summarize($args);
?>

This plugin is still in development! If you download, please be willing to file bug reports at http://code.google.com/p/wordpress-summarize-posts/issues/list