Meta Box - Version 4.15.2

Version Description

Download this release

Release Info

Developer rilwis
Plugin Icon 128x128 Meta Box
Version 4.15.2
Comparing to
See all releases

Code changes from version 4.15.1 to 4.15.2

css/color.css CHANGED
@@ -3,6 +3,6 @@
3
  }
4
  .rwmb-color-wrapper .wp-picker-holder {
5
  position: absolute;
6
- z-index: 9;
7
  min-width: 255px;
8
  }
3
  }
4
  .rwmb-color-wrapper .wp-picker-holder {
5
  position: absolute;
6
+ z-index: 99;
7
  min-width: 255px;
8
  }
inc/about/about.php CHANGED
@@ -137,8 +137,8 @@ class RWMB_About {
137
  * Enqueue CSS and JS.
138
  */
139
  public function enqueue() {
140
- wp_enqueue_style( 'meta-box-about', RWMB_URL . 'inc/about/css/about.css' );
141
- wp_enqueue_script( 'meta-box-about', RWMB_URL . 'inc/about/js/about.js', array( 'jquery' ), '', true );
142
  }
143
 
144
  /**
137
  * Enqueue CSS and JS.
138
  */
139
  public function enqueue() {
140
+ wp_enqueue_style( 'meta-box-about', RWMB_URL . 'inc/about/css/about.css', array(), RWMB_VER );
141
+ wp_enqueue_script( 'meta-box-about', RWMB_URL . 'inc/about/js/about.js', array( 'jquery' ), RWMB_VER, true );
142
  }
143
 
144
  /**
inc/fields/file-input.php CHANGED
@@ -14,7 +14,7 @@ class RWMB_File_Input_Field extends RWMB_Input_Field {
14
  */
15
  public static function admin_enqueue_scripts() {
16
  wp_enqueue_media();
17
- wp_enqueue_style( 'rwmb-file-input', RWMB_CSS_URL . 'file-input.css' );
18
  wp_enqueue_script( 'rwmb-file-input', RWMB_JS_URL . 'file-input.js', array( 'jquery' ), RWMB_VER, true );
19
  self::localize_script('rwmb-file-input', 'rwmbFileInput', array(
20
  'frameTitle' => esc_html__( 'Select File', 'meta-box' ),
14
  */
15
  public static function admin_enqueue_scripts() {
16
  wp_enqueue_media();
17
+ wp_enqueue_style( 'rwmb-file-input', RWMB_CSS_URL . 'file-input.css', array(), RWMB_VER );
18
  wp_enqueue_script( 'rwmb-file-input', RWMB_JS_URL . 'file-input.js', array( 'jquery' ), RWMB_VER, true );
19
  self::localize_script('rwmb-file-input', 'rwmbFileInput', array(
20
  'frameTitle' => esc_html__( 'Select File', 'meta-box' ),
inc/fields/map.php CHANGED
@@ -37,7 +37,7 @@ class RWMB_Map_Field extends RWMB_Field {
37
  * @link https://developers.google.com/maps/documentation/javascript/libraries
38
  */
39
  $google_maps_url = apply_filters( 'rwmb_google_maps_url', $google_maps_url );
40
- wp_register_script( 'google-maps', esc_url_raw( $google_maps_url ), array(), '', true );
41
  wp_enqueue_script( 'rwmb-map', RWMB_JS_URL . 'map.js', array(
42
  'jquery-ui-autocomplete',
43
  'google-maps',
37
  * @link https://developers.google.com/maps/documentation/javascript/libraries
38
  */
39
  $google_maps_url = apply_filters( 'rwmb_google_maps_url', $google_maps_url );
40
+ wp_register_script( 'google-maps', esc_url_raw( $google_maps_url ), array(), RWMB_VER, true );
41
  wp_enqueue_script( 'rwmb-map', RWMB_JS_URL . 'map.js', array(
42
  'jquery-ui-autocomplete',
43
  'google-maps',
inc/fields/media.php CHANGED
@@ -15,7 +15,7 @@ class RWMB_Media_Field extends RWMB_File_Field {
15
  public static function admin_enqueue_scripts() {
16
  wp_enqueue_media();
17
  if ( ! is_admin() ) {
18
- wp_register_script( 'media-grid', includes_url( 'js/media-grid.min.js' ), array( 'media-editor' ), '', true );
19
  }
20
  wp_enqueue_style( 'rwmb-media', RWMB_CSS_URL . 'media.css', array(), RWMB_VER );
21
  wp_enqueue_script( 'rwmb-media', RWMB_JS_URL . 'media.js', array( 'jquery-ui-sortable', 'underscore', 'backbone', 'media-grid' ), RWMB_VER, true );
@@ -149,7 +149,7 @@ class RWMB_Media_Field extends RWMB_File_Field {
149
  * @return array|mixed
150
  */
151
  public static function value( $new, $old, $post_id, $field ) {
152
- $new = ! is_array( $new ) && is_string( $new ) ? explode( ',', $new ) : $new;
153
  array_walk( $new, 'absint' );
154
  return array_filter( array_unique( $new ) );
155
  }
15
  public static function admin_enqueue_scripts() {
16
  wp_enqueue_media();
17
  if ( ! is_admin() ) {
18
+ wp_register_script( 'media-grid', includes_url( 'js/media-grid.min.js' ), array( 'media-editor' ), '4.9.7', true );
19
  }
20
  wp_enqueue_style( 'rwmb-media', RWMB_CSS_URL . 'media.css', array(), RWMB_VER );
21
  wp_enqueue_script( 'rwmb-media', RWMB_JS_URL . 'media.js', array( 'jquery-ui-sortable', 'underscore', 'backbone', 'media-grid' ), RWMB_VER, true );
149
  * @return array|mixed
150
  */
151
  public static function value( $new, $old, $post_id, $field ) {
152
+ $new = rwmb_csv_to_array( $new );
153
  array_walk( $new, 'absint' );
154
  return array_filter( array_unique( $new ) );
155
  }
inc/fields/oembed.php CHANGED
@@ -32,7 +32,7 @@ class RWMB_OEmbed_Field extends RWMB_Text_Field {
32
  * Enqueue scripts and styles.
33
  */
34
  public static function admin_enqueue_scripts() {
35
- wp_enqueue_style( 'rwmb-oembed', RWMB_CSS_URL . 'oembed.css' );
36
  wp_enqueue_script( 'rwmb-oembed', RWMB_JS_URL . 'oembed.js', array( 'jquery', 'underscore' ), RWMB_VER, true );
37
  }
38
 
32
  * Enqueue scripts and styles.
33
  */
34
  public static function admin_enqueue_scripts() {
35
+ wp_enqueue_style( 'rwmb-oembed', RWMB_CSS_URL . 'oembed.css', '', RWMB_VER );
36
  wp_enqueue_script( 'rwmb-oembed', RWMB_JS_URL . 'oembed.js', array( 'jquery', 'underscore' ), RWMB_VER, true );
37
  }
38
 
inc/fields/select-tree.php CHANGED
@@ -10,15 +10,14 @@
10
  */
11
  class RWMB_Select_Tree_Field extends RWMB_Select_Field {
12
  /**
13
- * Walk options.
14
- *
15
- * @param array $field Field parameters.
16
- * @param mixed $options Field options.
17
- * @param mixed $meta Meta value.
18
  *
 
 
19
  * @return string
20
  */
21
- public static function walk( $field, $options, $meta ) {
 
22
  $walker = new RWMB_Walker_Select_Tree( $field, $meta );
23
  return $walker->walk( $options );
24
  }
10
  */
11
  class RWMB_Select_Tree_Field extends RWMB_Select_Field {
12
  /**
13
+ * Get field HTML.
 
 
 
 
14
  *
15
+ * @param mixed $meta Meta value.
16
+ * @param array $field Field parameters.
17
  * @return string
18
  */
19
+ public static function html( $meta, $field ) {
20
+ $options = self::transform_options( $field['options'] );
21
  $walker = new RWMB_Walker_Select_Tree( $field, $meta );
22
  return $walker->walk( $options );
23
  }
inc/fields/slider.php CHANGED
@@ -17,7 +17,7 @@ class RWMB_Slider_Field extends RWMB_Field {
17
  wp_enqueue_style( 'jquery-ui-core', "{$url}/jquery.ui.core.css", array(), '1.8.17' );
18
  wp_enqueue_style( 'jquery-ui-theme', "{$url}/jquery.ui.theme.css", array(), '1.8.17' );
19
  wp_enqueue_style( 'jquery-ui-slider', "{$url}/jquery.ui.slider.css", array(), '1.8.17' );
20
- wp_enqueue_style( 'rwmb-slider', RWMB_CSS_URL . 'slider.css' );
21
 
22
  wp_enqueue_script( 'rwmb-slider', RWMB_JS_URL . 'slider.js', array( 'jquery-ui-slider', 'jquery-ui-widget', 'jquery-ui-mouse', 'jquery-ui-core' ), RWMB_VER, true );
23
  }
17
  wp_enqueue_style( 'jquery-ui-core', "{$url}/jquery.ui.core.css", array(), '1.8.17' );
18
  wp_enqueue_style( 'jquery-ui-theme', "{$url}/jquery.ui.theme.css", array(), '1.8.17' );
19
  wp_enqueue_style( 'jquery-ui-slider', "{$url}/jquery.ui.slider.css", array(), '1.8.17' );
20
+ wp_enqueue_style( 'rwmb-slider', RWMB_CSS_URL . 'slider.css', array(), RWMB_VER );
21
 
22
  wp_enqueue_script( 'rwmb-slider', RWMB_JS_URL . 'slider.js', array( 'jquery-ui-slider', 'jquery-ui-widget', 'jquery-ui-mouse', 'jquery-ui-core' ), RWMB_VER, true );
23
  }
inc/functions.php CHANGED
@@ -281,3 +281,36 @@ if ( ! function_exists( 'rwmb_get_meta_box' ) ) {
281
  return new $class_name( $meta_box );
282
  }
283
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
  return new $class_name( $meta_box );
282
  }
283
  }
284
+
285
+ /**
286
+ * Helper functions
287
+ */
288
+
289
+ if ( ! function_exists( 'rwmb_change_array_key' ) ) {
290
+ /**
291
+ * Change array key.
292
+ *
293
+ * @param array $array Input array.
294
+ * @param string $from From key.
295
+ * @param string $to To key.
296
+ */
297
+ function rwmb_change_array_key( &$array, $from, $to ) {
298
+ if ( isset( $array[ $from ] ) ) {
299
+ $array[ $to ] = $array[ $from ];
300
+ }
301
+ unset( $array[ $from ] );
302
+ }
303
+ }
304
+
305
+ if ( ! function_exists( 'rwmb_csv_to_array' ) ) {
306
+ /**
307
+ * Convert a comma separated string to array.
308
+ *
309
+ * @param string $string Comma separated string.
310
+ *
311
+ * @return array
312
+ */
313
+ function rwmb_csv_to_array( $string ) {
314
+ return is_array( $string ) ? $string : array_filter( array_map( 'trim', explode( ',', $string . ',' ) ) );
315
+ }
316
+ }
inc/loader.php CHANGED
@@ -18,7 +18,7 @@ class RWMB_Loader {
18
  */
19
  protected function constants() {
20
  // Script version, used to add version for scripts and styles.
21
- define( 'RWMB_VER', '4.15.1' );
22
 
23
  list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
24
 
18
  */
19
  protected function constants() {
20
  // Script version, used to add version for scripts and styles.
21
+ define( 'RWMB_VER', '4.15.2' );
22
 
23
  list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
24
 
inc/meta-box.php CHANGED
@@ -362,12 +362,10 @@ class RW_Meta_Box {
362
  *
363
  * @since 4.4.1
364
  */
365
- if ( ! empty( $meta_box['pages'] ) ) {
366
- $meta_box['post_types'] = $meta_box['pages'];
367
- }
368
 
369
  // Make sure the post type is an array and is sanitized.
370
- $meta_box['post_types'] = array_map( 'sanitize_key', (array) $meta_box['post_types'] );
371
 
372
  return $meta_box;
373
  }
362
  *
363
  * @since 4.4.1
364
  */
365
+ rwmb_change_array_key( $meta_box, 'pages', 'post_types' );
 
 
366
 
367
  // Make sure the post type is an array and is sanitized.
368
+ $meta_box['post_types'] = array_map( 'sanitize_key', rwmb_csv_to_array( $meta_box['post_types'] ) );
369
 
370
  return $meta_box;
371
  }
js/input-list.js CHANGED
@@ -20,10 +20,10 @@ jQuery( function ( $ ) {
20
 
21
  $( '.rwmb-input-list-select-all-none' ).toggle(
22
  function () {
23
- $('input[name="' + $(this).data('name') + '[]"]').prop('checked', true);
24
  },
25
  function () {
26
- $('input[name="' + $(this).data('name') + '[]"]').prop('checked', false);
27
  }
28
  );
29
  } );
20
 
21
  $( '.rwmb-input-list-select-all-none' ).toggle(
22
  function () {
23
+ $( this ).parent().siblings( '.rwmb-input-list' ).find( 'input' ).prop( 'checked', true );
24
  },
25
  function () {
26
+ $( this ).parent().siblings( '.rwmb-input-list' ).find( 'input' ).prop( 'checked', false );
27
  }
28
  );
29
  } );
meta-box.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Meta Box
4
  * Plugin URI: https://metabox.io
5
  * Description: Create custom meta boxes and custom fields in WordPress.
6
- * Version: 4.15.1
7
  * Author: MetaBox.io
8
  * Author URI: https://metabox.io
9
  * License: GPL2+
3
  * Plugin Name: Meta Box
4
  * Plugin URI: https://metabox.io
5
  * Description: Create custom meta boxes and custom fields in WordPress.
6
+ * Version: 4.15.2
7
  * Author: MetaBox.io
8
  * Author URI: https://metabox.io
9
  * License: GPL2+
readme.txt CHANGED
@@ -3,106 +3,138 @@ Contributors: metabox, rilwis, fitwp, f-j-kaiser, funkatronic, PerWiklander, rua
3
  Donate link: https://metabox.io/pricing/
4
  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
5
  Requires at least: 4.3
6
- Tested up to: 4.9.7
7
- Stable tag: 4.15.1
8
  License: GPLv2 or later
9
 
10
  Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields for WordPress.
11
 
12
  == Description ==
13
 
14
- **Meta Box plugin is a powerful, professional toolkit for developers to create and handle everything related to custom meta boxes and custom fields for WordPress.**
15
 
16
- The plugin provides a **wide range of field types** and **a lot of options to for each field type**, which gives you unlimited possibility to control and customize the custom fields.
17
 
18
- With the extensions, you can easily build meta boxes not only for custom post types (default), but also for **settings page, user meta, term meta**. You can also display the fields the way you want with columns, tabs or groups.
19
 
20
- The plugin requires a little coding, but if you're not familiar with coding or prefer GUI for faster creating custom post types, meta boxes and custom fields, you can use our [Online Generator](https://metabox.io/online-generator/) or use the extensions [MB Custom Post Type](https://wordpress.org/plugins/mb-custom-post-type/) or [Meta Box Builder](https://metabox.io/plugins/meta-box-builder/).
 
 
 
 
 
 
21
 
22
  ### Features
23
 
24
- #### Create any type of meta data
25
 
26
- * Create custom meta boxes for posts, pages or any custom post type.
27
- * Create custom [settings pages or theme option page](https://metabox.io/plugins/mb-settings-page/).
28
- * Create custom meta boxes for [user profile pages](https://metabox.io/plugins/mb-user-meta/).
29
- * Create custom meta boxes for [taxonomy terms](https://metabox.io/plugins/mb-term-meta/).
30
 
31
- #### Wide-range of field types and options
32
 
33
- * Supports 40+ built-in [field types](https://docs.metabox.io/field-settings/) for all your needs (text, textarea, wysiwyg/editor, image, file, post, select, checkbox, radio buttons, date time picker, taxonomy, user, oembed and more to come!). You can also [create your own field type](https://docs.metabox.io/custom-field-type/) easily.
34
- * Support cloning (repeatable) fields for most field types, including WYSIWYG/editor field. Also support [repeatable field groups](https://metabox.io/plugins/meta-box-group/).
35
- * Powerful [actions](https://docs.metabox.io/actions/) and [filters](https://docs.metabox.io/filters/) that developers can build or change the appearance and behavior in the plugin.
 
 
 
 
 
 
36
 
37
- #### Create meta boxes and custom fields with UI
38
 
39
- The plugin is built mostly for developers with a little coding, but if you prefer GUI for faster creating custom post types, meta boxes and custom fields, the plugin has extensions for that:
40
 
41
- - [Online Generator](https://metabox.io/online-generator/)
42
- - [MB Custom Post Type](https://wordpress.org/plugins/mb-custom-post-type/)
43
- - [Meta Box Builder](https://metabox.io/plugins/meta-box-builder/)
 
44
 
45
- <blockquote>To make it easy for all users to create custom meta boxes and custom fields, we have created an <a href="https://metabox.io/online-generator/">Online Generator</a> tool. It has an user-friendly interface with drag and drop features. No custom code anymore!</blockquote>
46
 
47
- #### Developer-friendly
48
 
49
- * Uses the [native WordPress meta data storage](https://docs.metabox.io/database/) and functions for ease of use and fast processing.
50
- * [Easily integrate with themes and plugins](https://docs.metabox.io/integration/).
51
- * [Works with Composer](https://docs.metabox.io/composer/) if you want to include the plugin in your project.
52
- * Compatible with WPML multilingual plugin (officially supported by WPML team).
53
 
54
- #### Detailed Documentation
 
 
 
 
55
 
56
- We provide regular updated and extensive documentation. Not only technical things, but also tutorials on how to use the plugin better.
57
 
58
- - [Quick Start Guide](https://docs.metabox.io/quick-start/)
59
- - [Creating Meta Boxes](https://docs.metabox.io/creating-meta-boxes/)
60
- - [Field Settings](https://docs.metabox.io/field-settings/)
61
- - [Displaying Fields](https://docs.metabox.io/displaying-fields/)
 
 
 
62
 
63
- See more documentation [here](https://docs.metabox.io).
 
 
 
 
 
64
 
65
  ### Extensions
66
 
 
 
 
 
67
  #### Free Extensions
68
 
69
- - [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.
70
- - [MB Relationships](https://wordpress.org/plugins/mb-relationships/): Create many-to-many relationships from posts to posts.
71
- - [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.
72
- - [MB Rest API](https://metabox.io/plugins/mb-rest-api/): Pull all meta value from posts, terms into the WP REST API responses.
73
- - [MB Comment Meta](https://wordpress.org/plugins/mb-comment-meta/): Add custom fields to comments in WordPress. Support all field types and options.
74
- - [MB Custom Taxonomy](https://metabox.io/plugins/custom-taxonomy/): Create and manage custom taxonomies with an easy-to-use interface in WordPress.
75
  - [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.
76
- - [Meta Box – FacetWP Integrator](https://metabox.io/plugins/meta-box-facetwp-integrator/): Integrates Meta Box and FacetWP, makes custom fields searchable and filterable in the frontend.
 
77
 
78
  #### Premium Extensions
79
 
80
- - [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.
81
- - [Meta Box Group](https://metabox.io/plugins/meta-box-group/): Create repeatable groups of custom fields for better appearance and structure.
82
  - [MB Settings Page](https://metabox.io/plugins/mb-settings-page/): Create settings pages for themes, plugins or websites with beautiful syntax.
83
  - [MB Term Meta](https://metabox.io/plugins/mb-term-meta/): Add meta data to categories, tags or any custom taxonomy with simple syntax.
84
  - [Meta Box Conditional Logic](https://metabox.io/plugins/meta-box-conditional-logic/): Add visibility dependency for custom meta boxes and custom fields in WordPress.
85
- - [Meta Box Include Exclude](https://metabox.io/plugins/meta-box-include-exclude/): Show/hide meta boxes by ID, page template, taxonomy or custom function.
86
- - [MB Frontend Submission](https://metabox.io/plugins/mb-frontend-submission/): Create frontend forms for users to submit custom content. Embed everywhere with shortcode.
87
- - [Meta Box Columns](https://metabox.io/plugins/meta-box-columns/): Display fields more beautiful by putting them into 12-columns grid.
88
- - [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.
89
- - [MB Admin Columns](https://metabox.io/plugins/mb-admin-columns/): Display custom fields in table columns in admin screens for All Posts (types).
90
- - [MB Custom Table](https://metabox.io/plugins/mb-custom-table/): Save custom fields data to custom table instead of the default meta tables. Reduce database size and increase performance.
91
- - [MB Revision](https://metabox.io/plugins/mb-revision/): Track changes of custom fields with WordPress revision. Save, compare, restore the changes easily.
92
- - [MB User Meta](https://metabox.io/plugins/mb-user-meta/): Add custom fields to user profile (user meta) quickly with simple syntax.
93
- - [Meta Box Geolocation](https://metabox.io/plugins/meta-box-geolocation/): Automatically and instantly populate location data with the power of Google Maps Geolocation API.
94
- - [Meta Box Template](https://metabox.io/plugins/meta-box-template/): Define custom meta boxes and custom fields easier with templates.
95
- - [Meta Box Tooltip](https://metabox.io/plugins/meta-box-tooltip/): Display help information for fields using beautiful tooltips.
96
- - [Meta Box Show Hide](https://metabox.io/plugins/meta-box-show-hide-javascript/): Toggle meta boxes by page template, post format, taxonomy (including category) via Javascript.
97
-
98
- See all extensions [here](https://metabox.io/plugins/).
99
-
100
- ### Plugin Links
101
-
102
- - [Project Page](https://metabox.io)
103
- - [Documentation](https://docs.metabox.io)
104
- - [Report Bugs/Issues](https://github.com/wpmetabox/meta-box/issues)
105
- - [Premium Extensions](https://metabox.io/plugins/)
 
 
 
 
 
 
 
 
106
 
107
  == Installation ==
108
 
@@ -119,7 +151,7 @@ Manually
119
  1. Upload `meta-box` to the `/wp-content/plugins/` directory
120
  1. Activate the plugin through the 'Plugins' menu in WordPress
121
 
122
- To getting started with the plugin, please read [this tutorial](https://docs.metabox.io/quick-start/).
123
 
124
  == Frequently Asked Questions ==
125
 
3
  Donate link: https://metabox.io/pricing/
4
  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
5
  Requires at least: 4.3
6
+ Tested up to: 4.9.8
7
+ Stable tag: 4.15.2
8
  License: GPLv2 or later
9
 
10
  Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields for WordPress.
11
 
12
  == Description ==
13
 
14
+ **Meta Box is a powerful, professional, and lightweight toolkit for developers to create unlimited custom meta boxes and WordPress custom fields.**
15
 
16
+ Meta Box helps you add [custom fields](https://metabox.io) and details on your website such as pages, posts, forms and anywhere you want using over 40 different field types such as text, images, file upload, checkboxes, and more.
17
 
18
+ 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.
19
 
20
+ Adding WordPress custom fields and custom meta boxes is quick and painless: Select the field types you want in the user-friendly [Online Generator](https://metabox.io/online-generator/), then copy and paste the code into your child theme's `functions.php` file.
21
+
22
+ **Boom! All the power with none of the bloat.**
23
+
24
+ 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.
25
+
26
+ You can also check out the [full list of extensions](https://metabox.io/plugins/) and [MetaBox.io](https://metabox.io) for details.
27
 
28
  ### Features
29
 
30
+ #### Create any type of metadata or custom fields in WordPress
31
 
32
+ 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.
 
 
 
33
 
34
+ **Here are just a few of the data types you can customize:**
35
 
36
+ - Posts
37
+ - Pages
38
+ - Custom post types
39
+ - [Taxonomies](https://metabox.io/plugins/mb-term-meta/)
40
+ - [Settings pages](https://metabox.io/plugins/mb-settings-page/)
41
+ - [Theme option pages](https://metabox.io/plugins/mb-settings-page/)
42
+ - [User profile pages](https://metabox.io/plugins/mb-user-profile/)
43
+ - [Post comments](https://metabox.io/plugins/mb-comment-meta/)
44
+ - [And even more data types](https://docs.metabox.io/field-settings/) than Batman has tools on his utility belt.
45
 
46
+ #### A wide-range of field types and options
47
 
48
+ Take your standard WordPress custom field and imagine it infinitely expanded. That's how many options Meta Box gives you:
49
 
50
+ - Meta Box supports [40+ built-in WordPress custom field types](https://docs.metabox.io/field-settings/) 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.
51
+ - Not enough? You can also [effortlessly create your own field type](https://docs.metabox.io/custom-field-type/).
52
+ - Meta Box supports cloning fields for most field types including the WYSIWYG editor field. It also supports [repeatable field groups](https://metabox.io/plugins/meta-box-group/).
53
+ - Utilize WordPress' powerful [action](https://docs.metabox.io/actions/) and [filter](https://docs.metabox.io/filters/) system so you can build or change a site's appearance and behavior in the plugin.
54
 
55
+ #### It's developer-friendly
56
 
57
+ 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.
58
 
59
+ You can use Meta Box and its custom fields in WordPress on as many websites as you want so you can use it on client projects as well.
 
 
 
60
 
61
+ - Has an ultra-lightweight, yet powerful API that won't overload your site.
62
+ - Add only what you need instead of getting stuck with a bundle of features you don't even want that bloat your site.
63
+ - Meta Box [easily integrates with any theme and plugin](https://docs.metabox.io/integration/), and also [works with the Composer package dependency manager](https://docs.metabox.io/composer/).
64
+ - We use the [native WordPress meta data storage](https://docs.metabox.io/database/) and functions for ease of use and lightning-fast processing.
65
+ - It's compatible with WPML multilingual plugin, and is officially supported by the WPML team.
66
 
67
+ #### Don't love coding? You're in luck!
68
 
69
+ Meta Box is built mostly for developers since you need to copy and paste some code, but if you prefer a more visual system to create custom fields in WordPress, you can choose one or all of the extensions below:
70
+
71
+ - [MB Custom Post Type](https://wordpress.org/plugins/mb-custom-post-type/)
72
+ - [Meta Box – Beaver Themer Integrator](https://metabox.io/plugins/meta-box-beaver-themer-integrator/)
73
+ - [Meta Box Builder](https://metabox.io/plugins/meta-box-builder/)
74
+
75
+ The [Meta Box Builder extension](https://metabox.io/plugins/meta-box-builder/) has a ton of features to make quick work of any project:
76
 
77
+ - All the power of Meta Box without touching a single line of code.
78
+ - It's designer-friendly, lightweight and works at top-notch speeds.
79
+ - Create an unlimited amount of WordPress custom fields at lightning speeds and with a user-friendly drag-and-drop interface.
80
+ - Over 40 custom field types available that you can drag and drop to where you need ‘em.
81
+ - 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.
82
+ - It has the goods with conditional logic, priority and context options ready and waiting.
83
 
84
  ### Extensions
85
 
86
+ Speaking of extensions, there are a ton of free and premium ones available to further extend the already powerful core Meta Box plugin so you can supercharge your custom fields in WordPress.
87
+
88
+ You'll have ultimate control to add whatever meta box and custom fields in WordPress you could ever want. Then, you can tailor it all to fit your exact specifications.
89
+
90
  #### Free Extensions
91
 
92
+ - [MB Custom Post Type](https://wordpress.org/plugins/mb-custom-post-type/): Create and manage custom post types and taxonomies quickly with an easy-to-use interface.
93
+ - [MB Relationships](https://wordpress.org/plugins/mb-relationships/): Create as many connections as you want from post-to-post or page-to-page.
94
+ - [Meta Box Yoast SEO](https://wordpress.org/plugins/meta-box-yoast-seo/): Add WordPress custom fields to Yoast SEO Content Analysis to generate more accurate SEO scores.
95
+ - [MB Rest API](https://metabox.io/plugins/mb-rest-api/): Pull all meta values from posts and terms into the WP REST API responses.
96
+ - [MB Comment Meta](https://wordpress.org/plugins/mb-comment-meta/): Add WordPress custom fields to comments in WordPress. It supports all field types and options.
97
+ - [MB Custom Taxonomy](https://metabox.io/plugins/custom-taxonomy/): Create and manage custom taxonomies in WordPress with a user-friendly interface.
98
  - [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.
99
+ - [Meta Box – FacetWP Integrator](https://metabox.io/plugins/meta-box-facetwp-integrator/): Integrates Meta Box, and FacetWP to make WordPress custom fields searchable and filterable in the frontend.
100
+ - [Meta Box – Beaver Themer Integrator](https://metabox.io/plugins/meta-box-beaver-themer-integrator/): Integrates Meta Box, and Beaver Themer to show WordPress custom fields easier in the frontend.
101
 
102
  #### Premium Extensions
103
 
104
+ - [Meta Box Builder](https://metabox.io/plugins/meta-box-builder/): Create custom meta boxes and custom fields in WordPress using a user-friendly drag-and-drop interface.
105
+ - [Meta Box Group](https://metabox.io/plugins/meta-box-group/): Create repeatable groups of WordPress custom fields for better appearance and structure.
106
  - [MB Settings Page](https://metabox.io/plugins/mb-settings-page/): Create settings pages for themes, plugins or websites with beautiful syntax.
107
  - [MB Term Meta](https://metabox.io/plugins/mb-term-meta/): Add meta data to categories, tags or any custom taxonomy with simple syntax.
108
  - [Meta Box Conditional Logic](https://metabox.io/plugins/meta-box-conditional-logic/): Add visibility dependency for custom meta boxes and custom fields in WordPress.
109
+ - [Meta Box Include Exclude](https://metabox.io/plugins/meta-box-include-exclude/): Show or hide meta boxes by ID, page template, taxonomy, or custom function.
110
+ - [MB Frontend Submission](https://metabox.io/plugins/mb-frontend-submission/): Create frontend forms for users to submit custom content and embed them anywhere with a shortcode.
111
+ - [Meta Box Columns](https://metabox.io/plugins/meta-box-columns/): Display eye-catching custom fields in WordPress by putting them into 12-column grids.
112
+ - [Meta Box Tabs](https://metabox.io/plugins/meta-box-tabs/): Painlessly create tabs for meta boxes. There are 3 supported WordPress-native tab styles and icons.
113
+ - [MB Admin Columns](https://metabox.io/plugins/mb-admin-columns/): Display WordPress custom fields in table columns on admin screens for all post types.
114
+ - [MB Custom Table](https://metabox.io/plugins/mb-custom-table/): Save custom field data to custom tables instead of the default meta tables to reduce your database's size and increase its performance.
115
+ - [MB Revision](https://metabox.io/plugins/mb-revision/): Track changes to custom fields in WordPress with revisions. You can save, compare and restore the changes smoothly.
116
+ - [MB User Meta](https://metabox.io/plugins/mb-user-meta/): Quickly add WordPress custom fields to user profiles in the wp_usermeta table with simple syntax.
117
+ - [Meta Box Geolocation](https://metabox.io/plugins/meta-box-geolocation/): Automatically and instantly populate location data with the power of the Google Maps Geolocation API.
118
+ - [Meta Box Template](https://metabox.io/plugins/meta-box-template/): Make defining custom meta boxes and WordPress custom fields way easier with templates.
119
+ - [Meta Box Tooltip](https://metabox.io/plugins/meta-box-tooltip/): Display help information for custom fields in WordPress using beautiful tooltips.
120
+ - [Meta Box Show Hide](https://metabox.io/plugins/meta-box-show-hide-javascript/): Toggle meta boxes by page template, post format, taxonomy and category via JavaScript.
121
+
122
+ See all the available [extensions on the Meta Box website](https://metabox.io/plugins/).
123
+
124
+ ### Detailed Documentation
125
+
126
+ We won't leave you high and dry.
127
+
128
+ 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.
129
+
130
+ Here are a few guides to quickly get you started with Meta Box and creating your own WordPress custom fields:
131
+
132
+ - [Quick Start Guide](https://docs.metabox.io/quick-start/)
133
+ - [Creating Meta Boxes](https://docs.metabox.io/creating-meta-boxes/)
134
+ - [Field Settings](https://docs.metabox.io/field-settings/)
135
+ - [Displaying Fields](https://docs.metabox.io/displaying-fields/)
136
+
137
+ Check out more on the [Meta Box Documentation](https://docs.metabox.io/) page.
138
 
139
  == Installation ==
140
 
151
  1. Upload `meta-box` to the `/wp-content/plugins/` directory
152
  1. Activate the plugin through the 'Plugins' menu in WordPress
153
 
154
+ To getting started with the plugin, please read the [Quick Start Guide](https://docs.metabox.io/quick-start/).
155
 
156
  == Frequently Asked Questions ==
157