{"id":7246,"date":"2009-11-13T18:20:47","date_gmt":"2009-11-13T18:20:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/lyza-loop\/"},"modified":"2009-12-02T00:14:16","modified_gmt":"2009-12-02T00:14:16","slug":"lyza-loop","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/lyza-loop\/","author":326972,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.3","stable_tag":"0.3","tested":"2.8.5","requires":"2.8.4","requires_php":"","requires_plugins":"","header_name":"Lyza Loop","header_author":"Lyza D. Gardner","header_description":"","assets_banners_color":"","last_updated":"2009-12-02 00:14:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.lyza.com\/lyza-loop","header_author_uri":"http:\/\/www.lyza.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1665,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1443988","resolution":"2","location":"plugin","width":637,"height":528},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1443988","resolution":"1","location":"plugin","width":938,"height":411}},"screenshots":{"1":"Lyza Loop Settings admin screen.","2":"Example of theme using a combination of Lyza Loop loops and loop templates."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[225,41495,2275,526,41496,975,1141],"plugin_category":[43],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-7246","plugin","type-plugin","status-publish","hentry","plugin_tags-cms","plugin_tags-custom-loop","plugin_tags-developer","plugin_tags-loop","plugin_tags-query_posts","plugin_tags-template","plugin_tags-theme","plugin_category-customization","plugin_committers-lyzadanger"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/lyza-loop.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/lyza-loop\/trunk\/screenshot-1.png?rev=1443988","caption":"Lyza Loop Settings admin screen."},{"src":"https:\/\/ps.w.org\/lyza-loop\/trunk\/screenshot-2.png?rev=1443988","caption":"Example of theme using a combination of Lyza Loop loops and loop templates."}],"raw_content":"<!--section=description-->\n<p>Lyza Loop is a WordPress plugin for theme developers and template-savvy folks that aims to:<\/p>\n <ul>\n<li>Dramatically shorten the time required to code custom loops<\/li>\n<li>Modularize custom loop markup using what I hope is a straightforward templating process<\/li>\n<li>Provide convenient batching variables<\/li>\n<li>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)<\/li>\n<li>Reduce tedious and duplicated code for custom loops<\/li>\n<\/ul>\n <p>There are two parts to the <code>lyza_loop()<\/code> function:<\/p>\n <ol>\n<li>Finding posts (or pages): extending <code>query_posts()<\/code> \u2014 <code>lyza_loop()<\/code> takes any argument WordPress\u2019 own query_posts() takes<\/li>\n<li>Rendering relevant posts or pages: using \u201cloop templates.\u201d A loop template is a PHP file with markup (and logic) you\u2019d like to use for each post\/page in the loop.<\/li>\n<\/ol>\n <p>Read more on the <a href=\"http:\/\/www.lyza.com\/lyza-loop\" title=\"Lyza Loop WordPress plugin home and documentation\">plugin home page<\/a><\/p>\n\n<!--section=installation-->\n<p><em>Please note: This plugin requires PHP 5--it uses some of PHP's better object-oriented programming support introduced in PHP 5. If there is great hue and cry, I might consider making it PHP 4 compatible.<\/em><\/p>\n <ol>\n<li>Unzip, then upload the <code>lyza-loop<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Update defaults on the Settings -&gt; Lyza Loop screen, if desired.<\/li>\n<li>See <a href=\"http:\/\/www.lyza.com\/lyza-loop-documentation\">Lyza Loop documentation<\/a> to get started quickly!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<p>Please see the <a href=\"http:\/\/www.lyza.com\/lyza-loop\/lyza-loop-faq\/\">Lyza Loop FAQ page<\/a>!<\/p>\n\n<!--section=changelog-->\n<h4>0.3<\/h4>\n <ul>\n<li>Added configuration option for suppressing sticky posts.<\/li>\n<li>Added code to set <code>$wp_query-&gt;in_the_loop<\/code> to <code>true<\/code> during <code>lyza_loop()<\/code> processing.<\/li>\n<\/ul>\n <h4>0.2<\/h4>\n <ul>\n<li>Fixed a couple of typos in the constructor function.<\/li>\n<li>Fixed bug in which <code>post__not_in<\/code> argument could get ignored if <code>exclude_repeats<\/code> is set to true (or the plugin is configured to exclude repeats by default).<\/li>\n<li>Updated to handle sticky tags appropriately (i.e. not return them at the top of every query).<\/li>\n<\/ul>\n <h4>0.1<\/h4>\n <ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Quickly code custom loops with re-usable templates and useful variables. Easier custom loops for theme developers.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/7246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=7246"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lyzadanger"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=7246"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=7246"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=7246"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=7246"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=7246"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=7246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}