$options_panel->OpenTab('options_2'); /** * Add fields to your admin page 2nd tab * * Fancy options: * typography field * image uploader * Pluploader * date picker * time picker * color picker */ //title $options_panel->Title(__('Fancy Options', 'apc')); //Typography field $options_panel->addTypo('typography_field_id', array('name' => __("My Typography", "apc"), 'std' => array('size' => '14px', 'color' => '#000000', 'face' => 'arial', 'style' => 'normal'), 'desc' => __('Typography field description', 'apc'))); //Image field $options_panel->addImage('image_field_id', array('name' => __('My Image ', 'apc'), 'preview_height' => '120px', 'preview_width' => '440px', 'desc' => __('Simple image field description', 'apc'))); //PLupload field $options_panel->addPlupload('plupload_field_ID', array('name' => __('PlUpload Field', 'apc'), 'multiple' => true, 'desc' => __('Simple multiple image field description', 'apc'))); //date field $options_panel->addDate('date_field_id', array('name' => __('My Date ', 'apc'), 'desc' => __('Simple date picker field description', 'apc'))); //Time field $options_panel->addTime('time_field_id', array('name' => __('My Time ', 'apc'), 'desc' => __('Simple time picker field description', 'apc'))); //Color field $options_panel->addColor('color_field_id', array('name' => __('My Color ', 'apc'), 'desc' => __('Simple color picker field description', 'apc'))); /** * Close second tab */ $options_panel->CloseTab(); //Now Just for the fun I'll add Help tabs