Custom taxonomy add button jumps
-
When trying to click the “Add New Equipment Type” button for my custom taxonomy, it simply moves the DOM element up into the list of entries and fails to add the actual term. Here is my taxonomy code:
$labels = array( 'name' => _x( 'Equipment Types', 'taxonomy general name' ), 'singular_name' => _x( 'Equipment Type', 'taxonomy singular name' ), 'search_items' => __( 'Search Equipment Types' ), 'all_items' => __( 'All Equipment Types' ), 'parent_item' => __( 'Parent Equipment Type' ), 'parent_item_colon' => __( 'Parent Equipment Type:' ), 'edit_item' => __( 'Edit Equipment Type' ), 'update_item' => __( 'Update Equipment Type' ), 'add_new_item' => __( 'Add New Equipment Type' ), 'new_item_name' => __( 'New Equipment Type Name' ), 'menu_name' => __( 'Equipment Type' ), ); register_taxonomy('equipmenttype',array('powerequipment'), array( 'hierarchical' => true, 'labels' => $labels, 'show_ui' => true, 'query_var' => true, 'rewrite' => array( 'slug' => 'power-equipment' ), ));
Here’s a screenshot of the behavior:
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Custom taxonomy add button jumps’ is closed to new replies.