Wednesday, February 15, 2023
HomeWordPress Developmentclasses - Fast Edit on taxonomy names ends in error

classes – Fast Edit on taxonomy names ends in error


If I press Fast Edit to the phrases, inside a class or taxonomy I get a 0 in consequence. You’ll be able to look screenshot right here:

enter image description here

// Register customized taxonomy - Marker classes.
operate markerCategories()  {
    $labels = array(
        'identify'                       => _x( 'Class', 'Taxonomy Basic Identify', 'guten' ),
        'singular_name'              => _x( 'Class', 'Taxonomy Singular Identify', 'guten' ),
        'menu_name'                  => __( 'Class', 'guten' ),
        'all_items'                  => __( 'All classes', 'guten' ),
        'parent_item'                => __( 'Father or mother class', 'guten' ),
        'parent_item_colon'          => __( 'Father or mother class:', 'guten' ),
        'new_item_name'              => __( 'New class identify', 'guten' ),
        'add_new_item'               => __( 'Add class', 'guten' ),
        'edit_item'                  => __( 'Edit class', 'guten' ),
        'update_item'                => __( 'Replace class', 'guten' ),
        'separate_items_with_commas' => __( 'Separate classes with commas', 'guten' ),
        'search_items'               => __( 'Search class', 'guten' ),
        'add_or_remove_items'        => __( 'Add or take away class', 'guten' ),
        'choose_from_most_used'      => __( 'Select from essentially the most used classes', 'guten' ),
    );

    $args = array(
        'labels'            => $labels,
        'hierarchical'      => true,
        'public'            => true,
        'show_ui'           => true,
        'show_admin_column' => true,
        'show_in_nav_menus' => true,
        'show_tagcloud'     => true,
    );

    register_taxonomy( 'markerCategories', 'googleMapMarkers_customPostType', $args );
}
add_action( 'init', 'markerCategories', 0 );

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments