WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't 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.

Summarize Posts

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

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

Requires: 3.0.1 or higher
Compatible up to: 3.1.4
Last Updated: 2011-9-14
Downloads: 1,078

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1