The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join

iG:Custom Metaboxes

Active installs
10+
Last updated
12 years ago
Version
1.0
Tested up to
WP 4.1.42

About this plugin

iG:Custom Metaboxes is a WordPress plugin to provide an object oriented and clean API for creating custom meta-boxes on wp-admin post_type add/edit screens.

This plugin is more or less a library which is meant to be used in other plugins or themes. On its own this plugin does nothing, it has no UI nor any configuration to be set/tweaked. This plugin allows addition of HTML5 fields however the functionality of specialized fields like color picker, date picker etc. is browser dependent. The plugin does not add any JavaScript to make these fields compatible with browsers which don’t support HTML5 or which don’t add functionality to these specialized fields.

This plugin has been written with WordPress.com VIP compliance in mind, so you can use it as is even if you host your website with WordPress.com VIP.

Requirements: This plugin requires PHP 5.4 or better and is supported on WordPress 4.0 or better. It might work on a lower version of PHP or WordPress but no support would be provided for those platforms.

Pull requests on Github are welcome.

Github: https://github.com/coolamit/ig-custom-metaboxes

Plugin Usage

On its own this plugin will not do anything, it is a library meant to be used in other plugins/themes. It provides an API to create custom metaboxes in wp-admin on post_type screens in an object oriented way.

Usage Example:

$metabox = new iGMetaboxMetabox( 'my-metabox-1' );

$metabox->set_title( 'My Cool Metabox' )
        ->set_context( 'normal' )
        ->set_priority( 'default' )
        ->set_css_class( 'my-metabox' )
        ->set_post_type( 'post' )
        ->add_field(    //add a simple text input field
            iGMetaboxText_Field::create( 'my-txt-1', 'My Text Field 1' )
                                ->set_description( 'Some Desc for 1st Field' )
                                ->set_css_class( 'my-txt-css-1 second-css-cls' )
                                ->set_placeholder( 'Enter the first text here' )
                                ->set_size( 50 )
        )
        ->add_field(    //add a HTML5 number input field
            iGMetaboxNumber_Field::create( 'my-num-1', 'My Numb Field A' )
                                ->set_description( 'Some Desc for 1st Number Field' )
                                ->set_css_class( 'my-num-css-1' )
                                ->set_placeholder( 'Enter the first number here' )
                                ->set_step( 2.5 )
        )
        ->add_field(    //add a HTML5 color picker
            iGMetaboxColor_Field::create( 'my-col-1', 'My Color Field 1a' )
                                ->set_description( 'Some Desc for 1st Color Field' )
                                ->set_css_class( 'my-colr-css-1' )
        )
        ->add_field(    //add a HTML date picker
            iGMetaboxDate_Field::create( 'my-dt-1', 'My Date Field 1a' )
                                ->set_description( 'Some Desc for 1st Date Field' )
                                ->set_css_class( 'my-dt-css-1' )
                                ->set_min( '2014-05-01' )
        )
        ->add_field(    //add a HTML5 date time picker
            iGMetaboxDate_Time_Field::create( 'my-dttm-1', 'My Date Time Field A' )
                                ->set_description( 'Some Desc for 1st Date Time Field' )
                                ->set_css_class( 'my-dttm-css-1' )
                                ->set_min( '2014-05-01T05:00' )
        )
        ->add_field(    //add a radio button group
            iGMetaboxRadio_Group::create( 'my-rdg-1', 'My Radio Group A' )
                                ->set_description( 'Some Desc for 1st Radio Group' )
                                ->set_css_class( 'my-rdg-css-1' )
                                ->set_values( array(
                                    'apple' => 'Apple',
                                    'grape' => 'Grape',
                                    'banana' => 'Banana',
                                    'orange' => 'Orange',
                                    'peach' => 'Peach',
                                ) )
        )
        ->add();

Analytics

Live from WordPress.org, refreshed daily. Last refresh Nov 28, 2026.

  • Passes 1 of 3 health checks below.
1/3

Health checks

What a careful site owner looks at before installing.

  • Actively maintained Last release 12 years ago
  • Tested with current WordPress Tested up to 4.1.42, 30 releases behind
  • Support questions answered Nothing open in the last two months
  • Well rated No ratings yet
Active installs
10+ WordPress.org rounds this down
This week
8 downloads 14 the week before
Last 30 days
31 downloads 1 a day, typically
All time
2k downloads On WordPress.org since 2015
Downloads per week Every update counts as a download on WordPress.org, so release weeks spike.
Latest week
8
Typical week
10
Peak
51 Week of May 16
View as table
WeekDownloads
Week of Nov 218
Week of Nov 1414
Week of Nov 75
Week of Oct 314
Week of Oct 245
Week of Oct 177
Week of Oct 107
Week of Oct 37
Week of Sep 2620
Week of Sep 1919
Week of Sep 1227
Week of Sep 510
Week of Aug 2913
Week of Aug 2211
Week of Aug 1514
Week of Aug 89
Week of Aug 113
Week of Jul 259
Week of Jul 1812
Week of Jul 1110
Week of Jul 49
Week of Jun 279
Week of Jun 2010
Week of Jun 1313
Week of Jun 622
Week of May 3019
Week of May 2326
Week of May 1651
Week of May 921
Week of May 235
Week of Apr 2521
Week of Apr 1812
Week of Apr 1118
Week of Apr 411
Week of Mar 2810
Week of Mar 217
Week of Mar 1410
Week of Mar 74
Week of Feb 2811
Week of Feb 215
Week of Feb 1410
Week of Feb 711
Week of Jan 317
Week of Jan 242
Week of Jan 176
Week of Jan 102
Week of Jan 32
Week of Dec 27, 20255
Week of Dec 20, 20254
Week of Dec 13, 20256
Week of Dec 6, 20251
Week of Nov 29, 20253
Where it stands Rank among the plugins WPFolks tracks every day.

Not ranked yet. Install, download and rating ranks cover the 5,000 most popular plugins on WordPress.org, and Trending needs about 100 downloads on a typical day.

Active installs over time Recorded by WPFolks every day since Oct 14, 2026.

Reviews

From folks on WPFolks

No reviews from folks yet. Used it? Be the first to say how it went.

Log in to leave a review

Proudly supported by