Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Lets you easily create metaboxes with custom fields that will blow your mind.
PHP CSS JavaScript Shell
Latest commit e62111b @mattheu mattheu Merge pull request #311 from mkdo/master
Prevented error if 'type' not set

HM Custom Meta Boxes for WordPress

Custom Meta Boxes is a framework for easily adding custom fields to the WordPress post edit page.

It includes several field types including WYSIWYG, media upload and dates (see wiki for a full list). It also supports repeatable and grouped fields.

This project is aimed at developers and is easily extended and customised. It takes a highly modular, Object Orientated approach, with each field as an extension of the CMB_Field abstract class.

The framework also features a basic layout engine for fields, allowing you to align fields to a simple 12 column grid.




  • For more information, including example code for usage of each field and instructions on how to create your own fields, refer to the Wiki.
  • Not covered in the Wiki? Need more help? Get in touch.
  • Found a bug? Feature requests? Create an issue - Thanks!


This plugin is maintained by Human Made Limited

It began as a fork of Custom Meta Boxes, but is no longer compatible.

Known Issues

  • Some fields do not work well as repeatable fields.
  • Some fields do not work well in repeatable groups.

To Do

  • Make hooking / registering nicer.

Contribution Guidelines




  • Add google maps field
  • Add hide_on field argument
  • Add Composer support
  • Enhancement - enable for attachments
  • Fix bug with unnatached images on custom post types
  • Fix error in WYSIWYG
  • Fix fields not getting correctly initialized if meta box is collapsed on page load
  • Fix bug with page-template restricted meta boxes showing if the post hasn't been saved at all.
  • Hook CMB in later - most post types & taxonomies should be registered then.
  • Fix Issue where different default values are used on save and init.


  • Fix bug - AJAX post select field displaying incorrect content.


  • Initial stable version of the fork.
Something went wrong with that request. Please try again.