
=== Bricksy Bits ===
Contributors: php-press
Tags: bricks, bricksbuilder, conditions, performance
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight Bricks Builder addon that brings essential missing features — starting with a performance-friendly `Query Loop Index` condition.

== Description ==

**Bricksy Bits** enhances Bricks Builder with tiny but essential features that are missing from the core — built for performance and developer experience (DX).

The first feature:
- Adds a `Query Loop Index` condition to Bricks’ Condition panel.
- Allows targeting items inside a loop using operators like `==`, `<`, `>`, etc.
- The index starts from `0` for better logical control.
- Great for creating custom layouts without writing multiple queries.

Stop duplicating queries just to style the first few posts differently. Now you can do it with a single loop.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/bricksy-bits` directory, or install the plugin through the WordPress plugin screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to any Query Loop inside Bricks and use `Query Loop Index` in the conditions dropdown.

== Frequently Asked Questions ==

= Does this plugin add other features too? =
Yes. More useful Bricks extensions are planned and will be added gradually.

= Can I suggest a feature? =
Absolutely! If there's a small but useful feature missing in Bricks, feel free to open an issue in the GitHub repo.

== Screenshots ==

1. The new `Query Loop Index` condition in Bricks panel.
2. Example layout using a single query and index-based conditions.

== Changelog ==

= 1.0.0 =
* Initial release.
* Adds Query Loop Index condition for Bricks Query Loops.

== Upgrade Notice ==

= 1.0.0 =
First release. Adds loop index support to Bricks Builder for performance-friendly layout control.

== Credits ==

Made with ☕, 🔁, and clean queries.

== License ==

This plugin is licensed under the GPLv2 or later.
