admin管理员组

文章数量:1405321

This is my code for custom taxonomy

register_taxonomy(
        'job_location',
        'noo_job',
        array(
            'labels'       => array(
                'name'          => __( 'Job Location', 'noo' ),
                'add_new_item'  => __( 'Add New Job Location', 'noo' ),
                'new_item_name' => __( 'New Job Location', 'noo' )
            ),
            'hierarchical' => true,
            'query_var'    => true,
            'rewrite'      => array( 'slug' => _x( 'job-location', 'slug', 'noo' ) )
        ) );

I want to add a CSS class field here so that I can assign any CSS class here.

本文标签: How to add CSS class field in Custom Taxonomy