Skip to content

Instantly share code, notes, and snippets.

@jaidetree
Created August 18, 2011 01:26
Show Gist options
  • Save jaidetree/1153082 to your computer and use it in GitHub Desktop.
Save jaidetree/1153082 to your computer and use it in GitHub Desktop.
<?php
class DivesBox extends MetaBox
{
var $name = 'dive-info';
var $label = "Dive Info";
var $post_types = 'akz-dive';
var $position = 'normal';
var $fields = array(
array(
'name' => 'test',
'type'=> 'text',
'label' => 'Test Field' ),
array(
'name' => 'awesome',
'type'=> 'select',
'label' => 'Am I Awesome?',
'options' => array(
array(
'label' => 'yes',
'value' => 1 ),
array(
'label' => 'no',
'value' => 0 ),
) ),
);
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment