PHPackages                             ziorwebdev/wordpress-blocks - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ziorwebdev/wordpress-blocks

ActiveLibrary

ziorwebdev/wordpress-blocks
===========================

A collection of custom Gutenberg blocks designed to extend the WordPress block editor with icons, dynamic data, and flexible content composition.

1.2.11(3d ago)0131MITTypeScriptPHP ^8.0CI passing

Since Dec 26Pushed 3d agoCompare

[ Source](https://github.com/ziorwebdev/wordpress-blocks)[ Packagist](https://packagist.org/packages/ziorwebdev/wordpress-blocks)[ RSS](/packages/ziorwebdev-wordpress-blocks/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (1)Versions (23)Used By (0)

WordPress Blocks
================

[](#wordpress-blocks)

A collection of custom Gutenberg blocks designed to extend the WordPress block editor with icons, dynamic data, and flexible content composition.

This project focuses on reusable and composable blocks that integrate naturally with the WordPress editor while remaining developer-friendly.

---

Included Blocks
---------------

[](#included-blocks)

### Icon Picker Block

[](#icon-picker-block)

A utility block that allows users to select and insert icons directly into the editor.

**Features**

- Supports Dashicons (WordPress core icons)
- Supports social icons
- Can be reused inside other blocks
- Outputs editor-safe markup compatible with both editor and frontend

**Use cases**

- Buttons
- Feature lists
- Callouts
- Social links

---

### Icon List Block

[](#icon-list-block)

A flexible list block powered by the Icon Picker.

**Features**

- Add, remove, and reorder list items
- Each list item includes:

    - An Icon Picker
    - A fully insertable inner block
        - Paragraph
        - Heading
        - Meta Field
        - Any other allowed block
- Built using InnerBlocks for maximum flexibility

**Use cases**

- Feature lists
- Services lists
- Benefits sections
- Custom content lists with icons

---

### Meta Field Block

[](#meta-field-block)

A dynamic block that allows users to insert values from WordPress data sources directly into the editor.

**Features**

- Insert values from:

    - Options table
    - Post meta table
- Dynamic rendering
- Supports return format templates using placeholder tokens
- Works in both editor preview and frontend output

**Use cases**

- Display custom fields
- Output site options such as address or contact information
- Build dynamic layouts without writing PHP templates

---

### WooCommerce Product Add To Cart Block

[](#woocommerce-product-add-to-cart-block)

A customizable block that allows users to insert a WooCommerce **Add to Cart** button directly into the editor, with support for dynamic product data and flexible quantity handling.

**Features**

- Add to cart for:
    - Specific products by ID
    - Current product context (when used on single product templates)
- Optional quantity selector support
- Dynamic data attributes for frontend handling
- Works seamlessly in both editor preview and frontend output
- Compatible with WooCommerce templates and block-based themes

**Use cases**

- Custom product landing pages
- Sales and promotional sections
- Product comparison layouts
- Block-based WooCommerce product templates

### WooCommerce Product Price Block

[](#woocommerce-product-price-block)

A dynamic block that renders the WooCommerce product price using native WooCommerce pricing logic.

This block ensures compatibility with simple, variable, and subscription-based products while preserving WooCommerce formatting.

#### Features

[](#features)

- Displays price for:
    - Specific product by ID
    - Current product context (when used on single product templates)
- Dynamic rendering using WooCommerce `get_price_html()` / `price_html`
- Supports:
    - Simple products
    - Variable products (price ranges)
    - Sale pricing
    - Subscription pricing (if WooCommerce Subscriptions is active)
- Editor preview reflects real product pricing
- Preserves WooCommerce markup and CSS compatibility
- Works in Full Site Editing (FSE) templates

#### Use cases

[](#use-cases)

- Custom single product templates
- Product landing pages
- Pricing tables
- Subscription comparison layouts
- Custom WooCommerce layouts without overriding PHP templates

### WooCommerce Product Rating Block

[](#woocommerce-product-rating-block)

A dynamic block that displays the WooCommerce product star rating with full frontend compatibility.

The block outputs WooCommerce’s native rating HTML to keep styling and structured data consistent.

#### Features

[](#features-1)

- Displays rating for:
    - Specific product by ID
    - Current product context
- Uses WooCommerce rating HTML output (star markup + accessible text)
- Supports:
    - Star rating visualization
    - Rating count
    - Average rating
- Editor preview displays real rating data
- Compatible with WooCommerce CSS and structured data
- Works in block-based product templates

#### Use cases

[](#use-cases-1)

- Custom single product templates
- Product grids and listing layouts
- Landing pages
- Product comparison sections
- Highlighting social proof in sales pages

---

Installation
------------

[](#installation)

### Via Composer

[](#via-composer)

```
composer require ziorwebdev/wordpress-blocks
```

After installation, the blocks will be available in your project.

---

License
-------

[](#license)

GPL-2.0-or-later

---

Author
------

[](#author)

ZIORWeb.Dev

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance99

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

21

Last Release

3d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8908070acb6b3df4bb3e622b24e7bac7f5eb54f4714ffa13e563f99252d120a?d=identicon)[reygcalantaol](/maintainers/reygcalantaol)

---

Top Contributors

[![reygcalantaol](https://avatars.githubusercontent.com/u/1219402?v=4)](https://github.com/reygcalantaol "reygcalantaol (129 commits)")

---

Tags

block-editorcustom-blockswordpress-blocks

### Embed Badge

![Health badge](/badges/ziorwebdev-wordpress-blocks/health.svg)

```
[![Health](https://phpackages.com/badges/ziorwebdev-wordpress-blocks/health.svg)](https://phpackages.com/packages/ziorwebdev-wordpress-blocks)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
