=== Meta Box === Contributors: metabox, rilwis, fitwp, f-j-kaiser, funkatronic, PerWiklander, ruanmer, Omnicia Donate link: http://paypal.me/anhtnt Tags: meta-box, custom fields, custom field, meta, meta-boxes, admin, advanced, custom, edit, field, file, image, magic fields, matrix, more fields, Post, repeater, simple fields, text, textarea, type, cms, fields post Requires at least: 4.1 Tested up to: 4.6.1 Stable tag: 4.9.8 License: GPLv2 or later Meta Box plugin is a powerful, professional solution to create custom meta boxes and custom fields for WordPress websites. == Description == **Meta Box plugin provides powerful API to implement custom meta boxes and custom fields for any post type in WordPress**. It extends the default WordPress functionality to add more flexible data to posts, pages or any custom post types which makes your website look like a professional Content Management Systems. ### Features * Easily register multiple custom meta boxes for posts, pages or custom post types * Supports more than 35 [field types](https://metabox.io/docs/define-fields/): (text, textarea, wysiwyg, image, file, post, select, checkbox, radio buttons, date time picker, taxonomy, user, oembed and more to come!) * Uses the native WordPress meta data storage and functions for ease of use and fast processing * Has built-in hooks which allow you to change the appearance and behavior of meta boxes * Easily integrate with themes and plugins * Compatible with WPML multilingual plugin ### Documentation - [Getting Started](https://metabox.io/docs/getting-started/) - [Register Meta Boxes](https://metabox.io/docs/registering-meta-boxes/) - [Define Fields](https://metabox.io/docs/define-fields/) - [Get Meta Value](https://metabox.io/docs/get-meta-value/) See more documentation [here](https://metabox.io/docs/). ### Extensions - [MB User Meta](https://metabox.io/plugins/mb-user-meta/): Add custom fields to user profile (user meta) quickly with simple syntax. - [Meta Box Geolocation](https://metabox.io/plugins/meta-box-geolocation/): Automatically and instantly populate location data with the power of Google Maps Geolocation API. - [MB Admin Columns](https://metabox.io/plugins/mb-admin-columns/): Display custom fields in table columns in admin screens for All Posts (types). - [MB Term Meta](https://metabox.io/plugins/mb-term-meta/): Add meta data to categories, tags or any custom taxonomy with simple syntax. - [MB Settings Page](https://metabox.io/plugins/mb-settings-page/): Create settings pages for themes, plugins or websites with beautiful syntax. - [MB Custom Post Type](https://wordpress.org/plugins/mb-custom-post-type/): Create and manage custom post types and taxonomies easily in WordPress with an easy-to-use interface. - [Meta Box Yoast SEO](https://wordpress.org/plugins/meta-box-yoast-seo/): Add content of custom fields to Yoast SEO Content Analysis to have better/correct SEO score. - [Meta Box Text Limiter](https://wordpress.org/plugins/meta-box-text-limiter/): Limit the number of characters or words entered for text and textarea fields. - [Meta Box Conditional Logic](https://metabox.io/plugins/meta-box-conditional-logic/): Add visibility dependency for custom meta boxes and custom fields in WordPress. - [Meta Box Group](https://metabox.io/plugins/meta-box-group/): Create repeatable groups of custom fields for better appearance and structure. - [Meta Box Builder](https://metabox.io/plugins/meta-box-builder/): Create custom meta boxes and custom fields in WordPress using the drag-and-drop interface. - [Meta Box Template](https://metabox.io/plugins/meta-box-template/): Define custom meta boxes and custom fields easier with templates. - [Meta Box Tooltip](https://metabox.io/plugins/meta-box-tooltip/): Display help information for fields using beautiful tooltips. - [Meta Box Show Hide (Javascript)](https://metabox.io/plugins/meta-box-show-hide-javascript/): Toggle meta boxes by page template, post format, taxonomy (including category) via Javascript. - [Meta Box Tabs](https://metabox.io/plugins/meta-box-tabs/): Create tabs for meta boxes easily. Support 3 WordPress-native tab styles and tab icon. - [Meta Box Columns](https://metabox.io/plugins/meta-box-columns/): Display fields more beautiful by putting them into 12-columns grid. - [Meta Box Include Exclude](https://metabox.io/plugins/meta-box-include-exclude/): Show/hide meta boxes by ID, page template, taxonomy or custom function. See all extensions [here](https://metabox.io/plugins/). ### Plugin Links - [Project Page](https://metabox.io) - [Documentation](https://metabox.io/docs/) - [Report Bugs/Issues](https://github.com/rilwis/meta-box/issues) - [Premium Extensions](https://metabox.io) == Installation == 1. Unzip the download package 1. Upload `meta-box` to the `/wp-content/plugins/` directory 1. Activate the plugin through the 'Plugins' menu in WordPress To getting started with the plugin API, please read [this tutorial](https://metabox.io/docs/getting-started/). == Frequently Asked Questions == == Screenshots == 1. Text Fields 1. Basic Fields 1. Advanced Fields 1. File Image Upload Fields 1. Media Fields 1. Post Taxonomy Fields == Changelog == #### 4.9.8 * Fix: Quick fix for enqueueing validation script = 4.9.7 = * Improvement: Re-add change event on media fields to make Conditional Logic extension works with media fields. * Improvement: Add `rwmb_choice_label`, `rwmv_{$field_type}_choice_label` and `rwmb_{field_id}_choice_label` filters for post, user, taxonomy fields, allowing users to customize the labels of choice fields. * Improvement: Change coding styles to follow WordPress Coding Standards. * Various improvements to reduce duplicated code. * Fix: Map field now works in the frontend. * Fix: `std` now works for taxonomy fields. = 4.9.6 = * Fix: Wrong CSS selector when cloning wysiwyg field * Fix: Remove preview for oembed field when cloning * Fix: 'std' for taxonomy field now works = 4.9.5 = * Fix: Quick fix for wrong field wrapper class which causes color field to render incorrectly = 4.9.4 = * Fix: Quick fix for cloning bug = 4.9.3 = * Fix: Quick fix saving datetime field = 4.9.2 = * Fix: Quick fix validation = 4.9.1 = * Fix: Quick fix for `rwmb_meta()` to be better backward compatible = 4.9 = * Improvement: Update Chinese language. Add Chinese Taiwan. * Improvement: Add support for Google Maps API key. Default API key is added, however users should replace it with their own key. * Improvement: Add additional methods for jQuery validation module which makes it understand HTML5 "pattern" attribute. * Improvement: Fully WPML compatibility (supported by WPML team) * Improvement: Add placeholders for `key_value` field * Fix: Toggle remove clone buttons for nested groups. * Fix: Error on date field, not save * Fix: Add fix for date/datetime when both inline and timestamp used * Fix: Set default language for date/time picker. * Fix: rwmb_meta for images returns incorrect width/height * Fix: PHP warning when uploading files in Settings Pages extension. * Fix: Blank space in the footer when using plupload_image. * Fix: Cloning wysiwyg when deleting the 1st clone = 4.8.7 = * Improvement: Refactor the code to reduce the complexity in the fields' inheritance * Improvement: All HTML 5 input types (week, month, etc.) are supported * Improvement: Optimize the_value function, use recursive call to reduce nested loop. Sub-fields need to define format_single_value only. * Improvement: Use 1 single localization file for jQuery date picker for simplicity * Improvement: Add support for custom marker for map field (param `marker_icon`) in rwmb_meta function * Improvement: Add `limit` option for media fields in `rwmb_meta` function when retrieving meta value. * Improvement: Add `rwmb_option_label` filter for choice fields (user, post, taxonomy) so users can choose which object field is used as label * Improvement: Use `WP_User_Query` for user field which supports more options for querying * Improvement: Optimize code for oembed, also use esc_html__ for better security * Improvement: Compatibility with Meta Box Geolocation * Fix: Fix first option is auto selected in select_advanced field. * Fix: Fix clone issue for color in Meta Box Group extension. * Fix: Fix clone issue for image advanced in Meta Box Group extension. * Fix: Fix not parsing $args to array in helper functions. = 4.8.6 = * Improvement: Edit link on media items now opens edit modal * Improvement: Refresh map when sorting meta boxes. * Improvement: Wrap checkbox's description into a