Add Custom Meta Box and Fields to Your WordPress In a Developer Way

WordPress is not like Drupal which can easily add new custom fields to page. But there are a  lot WordPress Plugins can help you to add custom meta box and custom fields to your WordPress. But for a developer, modify a plugin sometimes can be a nightmare. I think the best way is using a reusable library to  developer your own meta box, then every thing is under control.

After doing some search, I found this one: Custom Metaboxes and Fields for WordPress 

It support  a lot field types:

  • text
  • text small
  • text medium
  • text money
  • date picker
  • date picker (unix timestamp)
  • date time picker combo (unix timestamp)
  • time picker
  • color picker
  • textarea
  • textarea small
  • textarea code
  • select
  • radio
  • radio inline
  • taxonomy radio
  • taxonomy select
  • checkbox
  • multicheck
  • Image/file upload
  • oEmbed

Just easily download and copy into your theme directory, then include the library file. That’s it! All you need to do is just using a simple function to add your own meta box!

Also this project provide good document for us. Go here:

Thanks these people!



Leave a Reply