Meta Box

外掛說明

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:

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:

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

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.

螢幕擷圖

  • Text Fields
  • Basic Fields
  • Advanced Fields
  • File Image Upload Fields
  • Media Fields
  • Post Taxonomy Fields

安裝方式

  1. Visit Plugins > Add New
  2. Search for Meta Box
  3. Click the Install Now button to install the plugin
  4. Click the Activate button to activate the plugin

Get started here.

使用者評論

2024 年 10 月 3 日
I loved the Views and Conditional shortcode in Toolset. MB Views is good but not as user friendly, missing the conditional shortocde. On the other hand the Settings page in MB is great Overall very happy with my move – integration with Bricks Builder is great!
2024 年 8 月 16 日
I already wrote everything in the title, using WP with Meta Box is a whole other thing, in this way WP becomes a powerful development tool Furthermore, the assistance (commercial and technical) is really very efficientGood guys!
2024 年 8 月 3 日
I’m excited about the features of this plugin. And so far the support has been excellent.
閱讀全部 159 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Meta Box〉的開發相關工作。

參與者

〈Meta Box〉外掛目前已有 20 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Meta Box〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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, broken text_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 in RWMB_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 to time 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.

See full changelog here.