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
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: 6 years ago
Active Installs: 30+
Got something to say? Need help?