>
Download This Plugin | |
Download Elegant Themes | |
Name | CMB2 |
Version | 2.0.2 |
Author | WebDevStudios |
Rating | 100 |
Last updated | 2015-02-17 05:23:00 |
Downloads |
5384
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
CMB2 plugin added 3 bytes of resources to the Home page and 5 bytes of resources to the sample Post page.
CMB2 plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! CMB2 plugin ads no tables to your Wordpress blog database.CMB2 is a metabox, custom fields, and forms library for WordPress that will blow your mind.
CMB2 is a complete rewrite of Custom Metaboxes and Fields for WordPress. To get started, please follow the examples in the included example-functions.php
file and have a look at the basic usage instructions.
You can see a list of available field types here.
custom_attached_posts
, for attaching posts to a page.post_search_text
adds a post-search dialog for searching/attaching other post IDs.rgba_colorpicker
adds a color picker that supports RGBa, (RGB with transparency (alpha) value).CMB2 Field Type: Google Maps from mustardBees: Custom field type for Google Maps.
The
pw_map
field stores the latitude/longitude values which you can then use to display a map in your theme.
CMB2 Field Type: Select2 from mustardBees: Custom field types which use the Select2 script:
- The
pw_select field
acts much like the default select field. However, it adds typeahead-style search allowing you to quickly make a selection from a large list- The
pw_multiselect
field allows you to select multiple values with typeahead-style search. The values can be dragged and dropped to reorder
CMB Field Type: Gallery from mustardBees: Adds a WordPress gallery field.
All contributions welcome. If you would like to submit a pull request, please check out the trunk branch and pull request against it. Please read the CONTRIBUTING doc for more details.
A complete list of all our awesome contributors found here: github.com/WebDevStudios/CMB2/graphs/contributors
add_meta_boxes
hook for hooking in metaboxes to post-edit screen. Thanks @inspiraaz for reporting. (#161)row_classes
field param which allows you to add additional classes to the cmb-row wrap. This parameter can take a string, or array, or can take a callback that returns a string or array. The callback will receive $field_args
as the first argument, and the CMB2_Field $field
object as the second argument. Reported/requested in #68.CMB2_LOADED
, which you can use to check if CMB2 is loaded for your plugins/themes with CMB2 dependency.cmb2_init_before_hookup
and cmb2_after_init
.example-functions.php
. In keeping with backwards-compatibility, the cmb2_meta_boxes
filter method will still work, but is not recommended. New API includes new_cmb2_box
helper function to generate a new metabox, and returns a $cmb
object to add new fields (via the CMB2::add_field()
and CMB2::add_group_field()
methods).CMB2::remove_field()
.CMB2_Boxes::remove()
.file
, or file_list
type, the media modal will open with that image selected. Props johnsonpaul1014, (#120).