Custom Meta Box Builder
A modern WordPress meta box builder with 30+ field types, visual admin UI, nested groups, conditional logic, REST API, Gutenberg sidebar, and WP-CLI support.
by EMNES Lab · github.com/emnesco/custom-meta-box-builder · website
★ 1stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/emnesco/custom-meta-box-builder/archive/refs/heads/main.zipAlso on Packagist as emneslab/custom-meta-box-builder:
composer require emneslab/custom-meta-box-builderFrom the readme
Custom Meta Box Builder
A modern, developer-friendly WordPress meta box builder with 30+ field types, a visual admin UI, nested/repeatable groups, conditional logic, REST API, Gutenberg sidebar, WP-CLI, and more.
Installation
Note: This package uses composer/installers with type wordpress-plugin. In a standard WordPress setup it installs to wp-content/plugins/. In Bedrock it installs to web/app/plugins/.
Activate the plugin:
Requirements
- PHP 8.1+
- WordPress 6.0+
Quick Start
Register a meta box via PHP
Retrieve saved data
Visual Admin Builder
Navigate to CMB Builder in the WordPress admin to create field groups without code. The builder includes:
- Drag-and-drop field ordering
- Live PHP code generation
- Template code snippets (Result tab)
- Import/Export (JSON)
Features
- 30+ field types — text, textarea, number, select, checkbox, radio, file, image, gallery, color, date, time, range, toggle, password, post, user, taxonomy, group, flexible content, message, divider, and more
- Repeatable fields — any field can be made repeatable
- Nested groups — unlimited depth group-in-group nesting
- Drag-and-drop — sortable repeater rows
- Tabs — organize fields into tabbed s