Description
Meta Box is a powerful, professional, and lightweight toolkit for developers to create custom meta boxes and custom fields for any custom post type in WordPress.
Meta Box helps you add custom fields and details on your website such as pages, posts, custom post types, forms and anywhere you want using over 40 different field types such as text, images, file upload, checkboxes, and more.
On top of that, each WordPress custom field type has extensive internal options for unlimited content possibilities. Complete customization and control is just a few clicks away.
Adding WordPress custom fields and custom meta boxes for custom post types is quick and painless: Select the field types you want in the user-friendly Online Generator, then copy and paste the code into your child theme’s functions.php
file.
Boom! All the power with none of the bloat.
There are also free and premium extensions available to add enhanced capabilities. You can manage the display and organization of your WordPress custom fields, the conditions upon which they appear, and become the ultimate WordPress data wizard.
You can also check out the full list of extensions and MetaBox.io for details.
Features
Create any type of metadata or custom fields in WordPress
That’s right – any type. No matter where you need to insert custom data and features, Meta Box’s WordPress custom fields have your back, and with infinite options to boot.
Here are just a few of the data types you can customize:
- Posts
- Pages
- Custom post types (you can also use our free plugin MB Custom Post Types & Custom Taxonomies to create custom post types and custom taxonomies)
- Taxonomies
- Settings pages or Customizer sections
- User profile pages
- Post comments
- And even more data types than Batman has tools on his utility belt.
A wide-range of field types and options
Take your standard WordPress custom field and imagine it infinitely expanded. That’s how many options Meta Box gives you:
- Meta Box supports 40+ built-in WordPress custom field types for all your needs including text, textarea, WYSIWYG editor, image, file, post, select, checkbox, radio buttons, date/time picker, taxonomy, user, oembed and more to come.
- Not enough? You can also effortlessly create your own field type.
- Meta Box supports cloning fields for most field types including the WYSIWYG editor field. It also supports repeatable field groups.
It’s developer-friendly
As a developer, you have enough on your plate. You shouldn’t have to create an entirely new system for each project. Use Meta Box to your full advantage.
You can use Meta Box and its custom fields for any custom post type in WordPress on as many websites as you want so you can use it on client projects as well.
- Has an ultra-lightweight, yet powerful API that won’t overload your site.
- Add only what you need instead of getting stuck with a bundle of features you don’t even want that bloat your site.
- Meta Box easily integrates with any theme and plugin, and supports Composer!
- We use the native WordPress meta data storage and functions for ease of use and lightning-fast processing.
- Has a lot of actions and filters so you can build or change a site’s appearance and behavior in the plugin.
Don’t love coding? You’re in luck!
If you prefer a more visual system to create custom fields in WordPress, you can choose one or all of the extensions below:
These plugins have a ton of features to make quick work of any project:
- All the power of Meta Box without touching a single line of code.
- Designer-friendly, lightweight and work at top-notch speeds.
- Export your custom fields and settings to PHP. Then, add it to a new site without needing to install this extension for an incredibly lightweight option.
Extensions
Free Extensions
- MB ACF Migration: Migrate field groups and custom field data from Advanced Custom Fields (ACF) to Meta Box.
- MB Comment Meta: Add WordPress custom fields to comments in WordPress.
- MB Custom Post Types & Custom Taxonomies: Create and manage custom post types and taxonomies with UI.
- MB Relationships: Create as many connections as you want from post-to-post or page-to-page.
- MB Rank Math: Add content of custom fields to Rank Math Content Analysis to have better/correct SEO score.
- MB Rest API: Pull all meta values from posts and terms into the WP REST API responses.
- MB Toolset Migration: Migrate custom post types & taxonomies, field groups, custom field data, and relationships from Toolset to Meta Box.
- Meta Box – Beaver Themer Integrator: Integrates Meta Box and Beaver Themer to show custom fields on the frontend.
- Meta Box – Elementor Integrator: Connect and display custom fields created by the Meta Box plugin in the Elementor’s dynamic tags.
- Meta Box – FacetWP Integrator: Integrates Meta Box and FacetWP to make custom fields searchable and filterable.
- Meta Box Text Limiter: Limit the number of characters or words entered for text and textarea fields.
- Meta Box Yoast SEO: Add WordPress custom fields to Yoast SEO Content Analysis to generate more accurate SEO scores.
Premium Extensions
- MB Admin Columns: Display WordPress custom fields in table columns in admin.
- MB Blocks: Create custom Gutenberg blocks with PHP, using the same syntax in Meta Box.
- MB Custom Table: Save custom fields to custom tables instead of the default meta tables to reduce your database’s size and increase its performance.
- MB Frontend Submission: Create frontend forms for users to submit posts.
- MB Revision: Track changes to custom fields in WordPress with revisions. You can compare and restore the changes smoothly.
- MB Settings Page: Create settings pages for themes, plugins or websites with beautiful syntax.
- MB Term Meta: Add custom fields to categories, tags or custom taxonomies.
- MB User Meta: Add custom fields to users.
- MB Views: Outputting custom fields and build front-end templates for WordPress without touching theme files.
- Meta Box Builder: Create custom meta boxes and custom fields in WordPress using a user-friendly drag-and-drop interface.
- Meta Box Columns: Display eye-catching custom fields in WordPress by putting them into 12-column grids.
- Meta Box Conditional Logic: Add visibility dependency for custom meta boxes and custom fields in WordPress.
- Meta Box Geolocation: Automatically and instantly populate location data with the power of the Google Maps Geolocation API.
- Meta Box Group: Create repeatable groups for better appearance and structure.
- Meta Box Include Exclude: Show or hide meta boxes by ID, page template, taxonomy, or custom function.
- Meta Box Show Hide: Toggle meta boxes by page template, post format, taxonomy and category.
- Meta Box Tabs: Painlessly create tabs for meta boxes with multiple styles and icons.
- Meta Box Template: Make defining custom meta boxes and WordPress custom fields way easier with templates.
- Meta Box Tooltip: Display help information for custom fields with tooltips.
Detailed Documentation
We provide regularly updated, and extensive documentation as well as tutorials on how to use MetaBox and custom fields in WordPress to your advantage as well as in the most efficient way possible.
Here are a few guides to quickly get you started with Meta Box and creating your own WordPress custom fields:
Check out more on the Meta Box Documentation page.
You might also like
If you like this plugin, you might also like our other WordPress products:
- Slim SEO – A fast, lightweight and full-featured SEO plugin for WordPress with minimal configuration.
- Slim SEO Schema – An advanced, powerful and flexible plugin to add schemas to WordPress.
- Slim SEO Link Manager – Build internal link easier in WordPress with real-time reports.
- GretaThemes – Free and premium WordPress themes that clean, simple and just work.
- Auto Listings – A car sale and dealership plugin for WordPress.
Screenshots
Installation
- Visit Plugins > Add New
- Search for Meta Box
- Click the Install Now button to install the plugin
- Click the Activate button to activate the plugin
Reviews
Contributors & Developers
“Meta Box” is open source software. The following people have contributed to this plugin.
Contributors“Meta Box” has been translated into 20 locales. Thank you to the translators for their contributions.
Translate “Meta Box” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
5.10.4 – 2024-11-20
- OSM/Map fields: add support for select field type
- Add
$url
torwmb_oembed_not_available_string
filter - Small CSS improvements for file input, background & button group
- Fix not returning value for helper functions for images saving in a custom folder and using a custom table
5.10.3 – 2024-10-30
- fix: std after saving
- fix: field set text save empty values
- fix: subfield’s id
5.10.2 – 2024-09-26
- Fix issue with conditional logic
- Fix error when removing default taxonomy meta box in the front end or with the block editor
- Fix missing .hidden on the front end for
checkbox_tree
- Fix required attribute for
select_tree
5.10.1 – 2024-09-07
- Fix issue with
clone_empty_start
(validation, now showing data for the 1st clone, brokentext_list
field, etc.)
5.10.0 – 2024-08-19
Highlights:
This version introduces new parameter for field: clone_empty_start
that makes cloneable groups not showing inputs at first. When users want to enter data, they’ll need to click the “+ Add new” button. This feature updates the UI and makes it cleaner.
See more details on our blog post.
Other changes:
- Replace
sprintf
with string concatenation inRWMB_Field::show
to fix issues when$field['before']
or$field['after']
contains special characters (%
). Props Daniel Haim. - Fix mismatch filter params for
rwmb_meta
when no fields are found.
5.9.11 – 2024-07-10.0
- Make validation work for blocks
- Fix JavaScript validation error in site editor
- Set default minute step = 5 for datetime/time pickers
- Security fix for ajax getting posts
5.9.10 – 2024-07-02
- Fix modal not updating URL (when add new)
- Security fix for ajax get posts/users
5.9.9 – 2024-06-20
- Fix show hide checkbox tree
- Fix default value not display as selected time
- Fix datetime field not removing value when set inline & timestamp = true
5.9.8 – 2024-05-08
- Fix activation error on ajax request since WordPress 6.5
5.9.7 – 2024-04-18
- Revert fix for Meta Box Conditional Logic
5.9.6 – 2024-04-17
- Add progress bar for field
file_upload
- Force returned value of sanitize color to string
- Enqueue assets for FSE and widget (with block editor) screens
- Fix jumping layout for Meta Box Conditional Logic
- Fix errors when using cloneable map/osm fields
5.9.5 – 2024-03-26
- Add
save_format
settings totime
field - Field icon SVG not displaying
5.9.4 – 2024-02-27
- Fix security issue when users set object id in the helper functions where they don’t have permission to view (such as private posts)
5.9.3 – 2024-02-02
Highlights:
Fix security issue of the output shortcode [rwmb_meta]
not escaping. Users can disable escaping (to revert the previous behavior) by adding this snippet:
add_filter( 'rwmb_meta_shortcode_secure', '__return_false' );
// or
add_filter( 'rwmb_meta_shortcode_secure_{$field_id}', '__return_false' );
Other changes:
- Fix compatibility with PHP 8.3
- Fix not showing more than 10 saved users or terms
5.9.2 – 2024-01-22
- Validation: fix PHP warning when fields has non-consecutive keys
- Icon field: fix custom icon not working
- Update jQuery Validation to 1.20.0. Props Maarten.
- Prepare css to be inlined. Props Maarten.
5.9.1 – 2023-12-25
- Fix preview posts not working in the block editor in WP 6.4.
- Icon field: allow to set relative path/URL for settings
- Icon field: add support for scanning CSS file (
icon_css
setting) and parsing CSS class - Autocomplete field: fix not saving first value if the value is 0 (integer).
5.9.0 – 2023-11-22
Highlights:
Add new icon
field type, which supports Font Awesome Free, Font Awesome Pro and custom icon set. Can be used with icon font with CSS file or with SVGs. See the plugin docs for how to use it.
The icon
field type will be added to the new version of Meta Box Builder soon, which will allow you to configure its settings with UI.