=== Loops & Logic === Stable tag: 1.2.2 Requires at least: 5.0 Tested up to: 5.7 Requires PHP: 7.0 License: GPLv2 License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: loop, logic, template, query, content Loops & Logic is a template system with content loops and conditions. == Description == **Loops & Logic** is a template system with content loops and conditions. - Use HTML templates with dynamic tags like Loop, Field, and If - Create query **loops** of any content type, such as: posts, pages, custom post types, attachments, users, taxonomies and terms - Display built-in and custom **fields** - Build **logic** to display things based on certain conditions, for example: creating a menu, with some links only for logged-in users, or by user role There is a template **editor** module to integrate with builders: Gutenberg, Elementor, and Beaver Builder. --- Please see [the documentation site](https://loop.tangible.one/) for a complete description of plugin features. == Installation == 1. Install & activate in the admin: *Plugins -> Add New -> Upload Plugins* == Changelog == = 1.2.2 = Release Date: 2021-07-01 - Taxonomy and taxonomy term loop: Improve sort by custom field = 1.2.1 = Release Date: 2021-06-30 - Taxonomy term loop: Add query parameters "hide_empty", "orderby_field", "orderby_field_number"; Add field "count" - Template post types: Add "name" field (post slug) in admin edit screen and Template tag - Template tag: Add "theme" attribute to load theme templates: sidebar, search, and part - Layout post type: Add "Theme parts" settings to load alternate header or footer - Loop tag: Add logic to prevent infinite loop when a post loads itself; Improve handling default loop context (global $wp_query) when used without "type" attribute, especially in the context of Beaver template and layout = 1.2.0 = Release Date: 2021-06-22 - Add ACF field type "Tangible Template" (under Content section) - Add template types Style, Script, and Layout, with theme location rules builder - Gutenberg, Elementor, Beaver Builder: Add ability to select from saved templates - Field tag: Add attributes "template" and "acf_template" to render Template field - If tag: Add conditions for main query: "singular" and "archive" (category, tag, taxonomy, post, author, and date) - If tag: Add common operators "in" and "not_in" to check if value is in given list - Template tag: Add attribute "type" for layout, style, script, block = 1.1.8 = Release Date: 2021-06-10 - Attachment Loop: Add fields "srcset" and "sizes" for responsive image attributes - For featured image in post loop, the field names are "image_srcset" and "image_sizes" - Field tag: Add attribute "item" to get an item from a list, using index starting with 1 - Meta tag: Support "viewport" attribute = 1.1.6 = Release Date: 2021-06-02 - Chart tag: Add options chart_title, chart_legend, axis_x, axis_y - HTML module: Improve handling JSON object and array in tag attributes - Template shortcode: Support passing template as inner content = 1.1.3 = Release Date: 2021-05-21 - Publish to WordPress plugin directory