ziorwebdev/wordpress-blocks
最新稳定版本:1.1.3
Composer 安装命令:
composer require ziorwebdev/wordpress-blocks
包简介
Custom WordPress blocks
README 文档
README
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
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
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
A dynamic block that allows users to insert values from WordPress data sources directly into the editor.
Features
-
Insert values from:
- wp_options
- Post meta
-
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
Installation
Via Composer
composer require ziorwebdev/wordpress-blocks
After installation, the blocks will be available in your project.
License
GPL-2.0-or-later
Author
ZIORWeb.Dev https://github.com/ziorwebdev
统计信息
- 总下载量: 46
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-24