Summarize Posts Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
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
Screenshots
-
This plugin has an administration page where you can change some of the settings that affect how it works.
-
The object interface is thoroughly implemented!
-
If you enable pagination, you can easily flip through large result sets.