=== ArneIron Blocks ===
Contributors: arneiron, pixtheme
Tags: blocks, carousel, pricing table, faq, testimonial
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 1.3.9
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Design blocks for any theme: hero, feature cards, FAQ, pricing, testimonials, carousels, latest posts and more.

== Description ==

ArneIron Blocks adds eighteen ready-made sections to the block editor: page openers, feature cards, pricing, testimonials, carousels, your latest posts and more. Each block works in any theme and takes on its colours and fonts.

* **Hero**: a large opening section with a headline, short text and up to two buttons.
* **Call to Action**: a full-width band with a headline, short text and one button.
* **Feature Cards**: cards with an icon, a title, short text and an optional link.
* **How It Works**: numbered steps that explain a process.
* **Stat Strip**: a row of key numbers with labels.
* **FAQ**: questions that open to show their answers.
* **Alert**: a coloured notice for information, success, a warning or an error.
* **Testimonial**: a customer quote with name, position and photo, also as a "Quote Card".
* **Price Table**: pricing cards or a comparison table for your plans, also as "Token Packages".
* **Gallery**: a grid of images that can open full size.
* **Carousel** and **Slide**: a slider whose slides hold any blocks.
* **Posts**: your latest posts as a grid or a carousel.
* **WooCommerce Products**: your products with prices and add-to-cart buttons (needs WooCommerce).
* **Mega Menu Item**: a menu item that opens a large panel built from a pattern.
* **Embed Pattern**: one pattern, edited in one place, shown wherever you embed it.
* **Sidebar Widget**: a titled list of links for a sidebar or page menu.
* **Client Showcase**: cards that present client websites with a preview, name and tags.

The plugin also registers one block pattern (a blog posts carousel) and five shortcodes that sites built with earlier versions of the ArneIron theme use in their headers: `[arneiron_language_switcher]` (needs Polylang), `[arneiron_account_menu]`, `[arneiron_mobile_account]`, `[arneiron_mobile_cart]` (need WooCommerce) and `[arneiron_balance_seam]` (needs TeraWallet). Each renders nothing when the plugin it needs is not active.

The blocks look their best with the free ArneIron Lite theme, which styles them through its design tokens. In other themes they use the theme's colours and fonts.

The plugin adds no settings page, no dashboard notice and no credit link on your site, makes no requests to external services and stores nothing in your database. Its only addition to the admin is one "Upgrade to Pro" link in its own row on the Plugins screen, pointing to ArneIron Pro, the commercial edition of the ArneIron theme.

= Source code =

The editor scripts of alert, call-to-action banner, FAQ, feature cards, hero, how it works, price table, sidebar widget, stat strip and testimonial are built from the readable sources in `src/` with `build.mjs` (`npm install && npm run build`, esbuild, not minified). The other blocks' `index.js` files are hand-written and are their own source. Every stylesheet ships readable; each `*-rtl.css` file is the right-to-left copy of the stylesheet with the same name. Only the vendored Swiper files are minified, as released upstream (see Third-party resources).

== Installation ==

1. In your dashboard go to Plugins > Add New, search for "ArneIron Blocks", install and activate it. Or upload the plugin zip from Plugins > Add New > Upload Plugin.
2. In the block editor, open the inserter: the blocks are in the "ArneIron" category.

== Frequently Asked Questions ==

= Does it need the ArneIron theme? =

No. The blocks work in any block or classic theme. ArneIron Lite (free) and ArneIron Pro style them to match their design.

= Does it contact an external service? =

No. Everything, including the Swiper carousel library, is served from your own site.

= What happens to my content if I deactivate the plugin? =

Pages keep the block comments in their content. While the plugin is inactive those blocks do not render; activate it again and they render as before. The plugin stores no options, so there is nothing to clean up when you delete it.

= Is it translatable? =

Yes. All strings use the `arneiron-blocks` text domain.

== Screenshots ==

1. Hero, feature cards and how-it-works steps in the Twenty Twenty-Five theme.
2. FAQ, alert, stat strip and testimonial in the Twenty Twenty-Five theme.
3. Price table (card boxes) and call-to-action banner in the Twenty Twenty-Five theme.
4. The blocks in the block inserter, searched for "ArneIron".

== Changelog ==

= 1.3.9 =
* First public release on WordPress.org.

== Upgrade Notice ==

= 1.3.9 =
First public release on WordPress.org.

== Third-party resources ==

Swiper 14.0.7, (C) Vladimir Kharlampidi
License: MIT (blocks/carousel/swiper/LICENSE)
Source: https://github.com/nolimits4web/swiper
