Quickly code custom loops with re-usable templates and useful variables. Easier custom loops for theme developers.
Author: | Lyza D. Gardner (profile at wordpress.org) |
WordPress version required: | 2.8.4 |
WordPress version tested: | 2.8.5 |
Plugin version: | 0.3 |
Added to WordPress repository: | 13-11-2009 |
Last updated: | 02-12-2009
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, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://www.lyza.com/lyza-loop |
Total downloads: | 1 346 |
Click to start download |
Lyza Loop is a WordPress plugin for theme developers and template-savvy folks that aims to:
- Dramatically shorten the time required to code custom loops
- Modularize custom loop markup using what I hope is a straightforward templating process
- Provide convenient batching variables
- Respect the context in which the custom loop is called and put everything back the way it was (e.g. global $wp_query and $post objects)
- Reduce tedious and duplicated code for custom loops
There are two parts to the lyza_loop()
function:
- Finding posts (or pages): extending
query_posts()
—lyza_loop()
takes any argument WordPress’ own query_posts() takes - Rendering relevant posts or pages: using “loop templates.” A loop template is a PHP file with markup (and logic) you’d like to use for each post/page in the loop.
Read more on the plugin home page
Screenshots
FAQ
ChangeLog