.term-description-wrap { display:none; } #edittag { max-width: 100% !important; } #edittag input { max-width: 500px; } "; } public function create_hotel_taxonomy() { $labels = array( 'name' => _x( 'Hotels', 'taxonomy general name', '1day' ), 'singular_name' => _x( 'Hotel', 'taxonomy singular name', '1day' ), 'search_items' => __( 'Search Hotels', '1day' ), 'popular_items' => __( 'Popular Hotels', '1day' ), 'all_items' => __( 'All Hotels', '1day' ), 'parent_item' => null, 'parent_item_colon' => null, 'edit_item' => __( 'Edit Hotel', '1day' ), 'update_item' => __( 'Update Hotel', '1day' ), 'add_new_item' => __( 'Add New Hotel', '1day' ), 'new_item_name' => __( 'New Hotel Title', '1day' ), 'separate_items_with_commas' => __( 'Separate hotels with commas', '1day' ), 'add_or_remove_items' => __( 'Add or remove hotels', '1day' ), 'choose_from_most_used' => __( 'Choose from the most used hotels', '1day' ), 'not_found' => __( 'No hotels found.', '1day' ), 'menu_name' => __( 'Hotels', '1day' ), ); $args = array( 'labels' => $labels, 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_admin_column' => true, 'show_in_nav_menus' => true, 'show_tagcloud' => true, ); register_taxonomy( 'hotel', 'product', $args ); register_taxonomy_for_object_type('hotel', 'product', $args); } public function create_hotel_fields() { $hotel_image = ''; ?>