meta-box

The best plugin for WordPress custom fields and custom meta boxes

Downloads
18.9K
Stars
1.2K
Committers
119

Bot releases are hidden (Show)

meta-box - Latest Release

Published by rilwis almost 7 years ago

Added

  • Added helper function render_map for map field, which can be used with groups to show Google maps.

Fixed

  • Fixed duplication of "Add media" button when cloning group contains image_advanced field.
meta-box -

Published by rilwis almost 7 years ago

Added

  • Added new contexts for meta box: form_top, after_title, after_editor, before_permalink.
  • Added settings 'style' => 'seamless' to meta boxes which removes the wrapper for meta boxes, makes fields displayed seamlessly.
  • Added new field type switch with iOS / square styles. See demo.
  • Added new field type background that lets you define all background attributes easier. See demo.
  • Added new field type button_group that lets you define group of buttons, similar to a toolbar. See demo.
  • Added new field type single_image that lets you select only a single image. See demo.
  • Added Italian translation. Props @flocca.

Fixed

  • Fixed post parent value is not selected after saving (post field).
meta-box -

Published by rilwis almost 7 years ago

Added

  • Added welcome page. Displayed only once when first install the plugin. Won't display if included via TGM or directly in themes/plugins.
  • Added "sidebar" field type. See here.
  • Added "format" option for shortcode and rwmb_the_value for datetime field.

Fixed

  • Fixed compatibility with old versions of WPML.
  • Fixed image field not saving values after updating posts.
  • Fixed validation message overlapping text for radio field.
meta-box -

Published by rilwis almost 7 years ago

Fixed

  • Fixed "Select All/None" doesn't work with post field (checkbox_list type).
  • Fixed color picker field for WordPress 4.9.
  • Fixed map field doesn't work inside groups.
  • Fixed media fields don't reset value when cloning the container groups.

Changed

  • File field now uses hidden input to handle field values. Remove ajax action for reordering files and simply file action for deleting files. Also make it works with post thumbnail removal in the frontend.
meta-box -

Published by rilwis almost 7 years ago

Fixed

  • Fixed taxonomy advanced select tree doesn't work.
  • Fixed error when value of taxonomy field is empty.
  • Fixed helper functions don't work with taxonomy_advanced field
  • Increased priority for registering meta boxes to 20 to support custom port types registered using the default priority.
  • Fixed condition so that the fields based on posts/taxonomies are correctly translated.
meta-box -

Published by rilwis almost 7 years ago

Added

  • Reset media status when reset media field.
  • Added support for clone default value. Requires 'clone_default' => true.

Changed

  • Optimized JS performance when cloning.
  • Updated French translation

Fixed

  • Brought date picker in front of admin bar.
  • Fixed margin of media list when no images are selected.
  • Fixed trigger reselect image popup when reorder images.
  • Fixed autosave not working.
meta-box -

Published by rilwis over 7 years ago

Added

  • Added new media:reset event for media fields to clear the selection.

Changed

  • Improve meta box registry that can handle various types of meta boxes. Used for term meta, user meta, settings pages.
  • Improve the way set current object id for meta box and add fields to the registry.
meta-box -

Published by rilwis over 7 years ago

Fixed

  • Helper function doesn't work. #1144.
meta-box -

Published by rilwis over 7 years ago

Added

  • Completed the storage abstraction. All the actions add/get/update/delete post meta now use the storage methods. Make it easy to extend for other extensions for term/user meta and settings pages.
  • Added autofocus, autocomplete HTML5 attribute to inputs.
  • Added alpha_channel to color field. Set it to true to allow picking colors with opacity.
  • Click on the image will open a popup for re-select image. Works for image_advanced and image_upload (plupload_image) fields.

Changed

  • Auto display oembed media when pasting the URL, without click "Preview" button (and it's removed).
  • Better styles for media fields. Use the loading icon from WordPress.

Fixed

  • Fix cloning an editor inside a group in WordPress 4.8. Caused by updated version of TinyMCE using Promise.
  • Modals created by media fields now exclude already selected media. This was a previous feature, but it had caused problems with uploading.
  • Fixed Google map doesn't use custom style
meta-box -

Published by rilwis over 7 years ago

  • Fix: Warning for timestamp for datetime field.
  • Fix: z-index for color picker.
  • Fix: Marker title in map
meta-box -

Published by rilwis over 7 years ago

  • Fix: Always set std as value for hidden field
  • Fix: rwmb_meta now can display rich content from oembed field
  • Fix: Wrong format for datetime field
  • Fix: Check and reset clone index when add/remove/sort clones
  • Improvement: Optionally display ID attribute for heading and divider
  • Improvement: Adding new style to date field to match WordPress style
  • Improvement: Change saving hooks to specific post types to prevent saving images to wrong post
meta-box -

Published by rilwis over 7 years ago

  • Allow helper functions can be used in admin area
  • Allow cloned fields to have a uniquely indexed name attribute
  • Add Swedish translation
  • Allow hidden field has its own value
  • Taxonomy field now supported by rwmb_meta function
  • Improvement in code format and field normalizing
meta-box -

Published by rilwis over 7 years ago

  • Bug fix: helper function for getting taxonomy field type
  • Bug fix: multiple attribute for select field type
meta-box -

Published by rilwis over 7 years ago

  • Bug fix: save only last element of select field with multiple values. Link
  • Improvement: add js_options attribute for date, datetime, time fields to adjust jQuery date/datetime picker options. See demo/demo.php for usage
  • Improvement: add options attribute for wysiwyg. You now can pass arguments same as for wp_editor function
  • Improvement: clone feature now works with checkbox_list and select with multiple values
  • Improvement: add rwmb-{$field_type}-wrapper class to field markup
  • Improvement: Add [rwmb_meta meta_key="..."] shortcode. Attributes are the same as rwmb_meta function.
  • Code refactored
meta-box -

Published by rilwis over 7 years ago

  • Bug fix: not save wysiwyg field in full screen mode. Link
  • Bug fix: default value for select/checkbox_list. Link
  • Bug fix: duplicated append test to date picker
  • Bug fix: incorrect enqueue styles, issue #166
  • Improvement: initial new field type map
meta-box -

Published by rilwis over 7 years ago

  • Bug fix: time field doesn't work. Link
  • Bug fix: wrong JS call for datetime. Link
  • Improvement: file and images now not deleted from library, unless use force_delete option
  • Improvement: add select_advanced field, which uses select2 for better UX. Thanks @funkedgeek
meta-box -

Published by rilwis over 7 years ago

  • Bug fix: clone date field.
meta-box -

Published by rilwis over 7 years ago

  • Bug fix: path to Select2 JS and CSS. Link
  • Bug fix: taxonomy.js loading
  • Bug fix: saving in quick mode edit
  • Improvement: add before and after attributes to fields that can be used to display custom text
  • Improvement: add Arabic and Spanish languages
  • Improvement: add rwmb*_before_save_post and rwmb*_before_save_post actions before and after save post
  • Improvement: add autocomplete for geo location in map field, add fancy animation to drop marker
  • Improvemnet: add url field
meta-box -

Published by rilwis over 7 years ago

  • Bug fix: show full size image after upload if thumbnail is not available
  • Bug fix: new added file not shown
  • Bug fix: issue with color field disappearing
  • Bug fix: max_file_upload now works for normal file & image as well
  • Bug fix: problem with uploading with the advanced fields
  • Bug fix: file & image advanced not saving
  • Bug fix: select_advanced cloning issue
  • Bug fix: plupload_image ordering
  • Improvement: add divider, heading, button, range, oembed, email, post fields
  • Improvement: translation for file & image fields
  • Improvement: add option default_hidden to hide meta box by default
  • Improvement: allow to have multiple maps on the same page
  • Improvement: file and image advanced now use Underscore.js
  • Improvement: slider filed now has prefix and suffix for text labels and js_options for more JS options
  • Improvement: WYSIWYS can bypass the wpautop using raw parameter
  • Improvement: color field now supports new color picker in WP 3.5
  • Improvement: add ID to results returned by rwmb_meta when getting meta value of file & image
  • Improvement: auto use localized version for date & time fields
  • Improvement: add timestamp option to save the datetime as unix timestamp internally
  • Improvement: add autosave option for meta box
  • Improvement: add force_delete option for file and image field
  • And lots of changes and improvements
meta-box -

Published by rilwis over 7 years ago

  • Bug fix: fatal error if ASP open tag is allowed in php.ini
Package Rankings
Top 2.77% on Packagist.org
Related Projects