Is there an easy way to make a meta box have the tabs like the Categories meta box has?
Here’s a very basic example.. /* Code assumes it will be in the theme functions.php file Update the enqueue path if using it elsewhere */ add_action( ‘add_meta_boxes_post’, ‘add_post_metabox’ ); function add_post_metabox() { wp_enqueue_script( ‘mytabs’, get_bloginfo( ‘stylesheet_directory’ ). ‘/mytabs.js’, array( ‘jquery-ui-tabs’ ) ); add_meta_box( ‘examplebox’ , __(‘Example box’), ‘my_example_metabox’, ‘post’, ‘side’, ‘core’/*,array()*/); } function my_example_metabox() { … Read more