array( 'name' => __( 'Aio Res Tab' ), 'singular_name' => __( 'Aio Res TABS' ), 'add_new_item' => __( 'Add New TAB' ) ), 'public' => true, 'supports' => array('title'), 'has_archive' => true, 'rewrite' => array('slug' => 'aio_tab'), 'menu_icon' => '', 'menu_position' => 20, )); } add_action('init','aio_restab_custom_post'); // Register Custom Texonomy function aio_responsive_tab_texonomi() { register_taxonomy( 'aiotab_cat', 'aio_tab', array( 'hierarchical' => true, 'label' => 'AIO Category', 'query_var' => true, 'show_admin_column' => true, 'rewrite' => array( 'slug' => 'aio-category', 'with_front' => true ) ) ); } add_action( 'init', 'aio_responsive_tab_texonomi'); // custom post icon require_once 'admin/metabox/customicon.php'; // Loading Option Framework Main Metaboxes new VP_Metabox(array ( 'id' => 'aio-meta', 'types' => array('aio_tab'), 'title' => __('All In One Responsive TAB', 'vp_textdomain'), 'priority' => 'high', 'template' => VP_AIOTAB_DIR . '/admin/metabox/custom-meta.php' )); // Loading Option Framework Right Side Metaboxes new VP_Metabox(array ( 'id' => 'aioside-meta', 'types' => array('aio_tab'), 'title' => __('AIO Shortcode Here', 'vp_textdomain'), 'priority' => 'high', 'context' => 'side', 'template' => VP_AIOTAB_DIR . '/admin/metabox/rightside.php' )); // all style shortcodes require_once(VP_AIOTAB_DIR . 'admin/css3-shortcode.php'); ?>