diff -r 000000000000 -r d970ebf37754 wp/wp-content/plugins/option-tree/assets/theme-mode/demo-meta-boxes.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wp/wp-content/plugins/option-tree/assets/theme-mode/demo-meta-boxes.php Wed Nov 06 03:21:17 2013 +0000 @@ -0,0 +1,63 @@ + 'my_meta_box', + 'title' => 'Demo Meta Box', + 'desc' => '', + 'pages' => array( 'post' ), + 'context' => 'normal', + 'priority' => 'high', + 'fields' => array( + array( + 'label' => 'Background', + 'id' => 'my_background', + 'type' => 'background', + 'desc' => 'BlahLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', + 'std' => '', + 'rows' => '', + 'post_type' => '', + 'taxonomy' => '', + 'class' => '' + ), + array( + 'label' => 'Category Checkbox', + 'id' => 'my_category_checkbox', + 'type' => 'category-checkbox', + 'desc' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', + 'std' => '', + 'rows' => '', + 'post_type' => '', + 'taxonomy' => '', + 'class' => '' + ) + ) + ); + + /** + * Register our meta boxes using the + * ot_register_meta_box() function. + */ + ot_register_meta_box( $my_meta_box ); + +} \ No newline at end of file