Property Status
Property Status for Realestate theme
if ( ! function_exists( 'pxlr_property_status' ) ) { // Register Custom Taxonomy function pxlr_property_status() { $labels = array( 'name' => _x( 'All Status', 'Taxonomy General Name', 'pxlr-plugin' ), 'singular_name' => _x( 'Status', 'Taxonomy Singular Name', 'pxlr-plugin' ), 'menu_name' => __( 'Property Status', 'pxlr-plugin' ), 'all_items' => __( 'All Status', 'pxlr-plugin' ), 'parent_item' => __( 'Parent Status', 'pxlr-plugin' ), 'parent_item_colon' => __( 'Parent Status:', 'pxlr-plugin' ), 'new_item_name' => __( 'New Status Name', 'pxlr-plugin' ), 'add_new_item' => __( 'Add New Status', 'pxlr-plugin' ), 'edit_item' => __( 'Edit Status', 'pxlr-plugin' ), 'update_item' => __( 'Update Status', 'pxlr-plugin' ), 'view_item' => __( 'View Status', 'pxlr-plugin' ), 'separate_items_with_commas' => __( 'Separate Status with commas', 'pxlr-plugin' ), 'add_or_remove_items' => __( 'Add or remove Status', 'pxlr-plugin' ), 'choose_from_most_used' => __( 'Choose from the most used', 'pxlr-plugin' ), 'popular_items' => __( 'Popular Status', 'pxlr-plugin' ), 'search_items' => __( 'Search Status', 'pxlr-plugin' ), 'not_found' => __( 'Not Found', 'pxlr-plugin' ), 'no_terms' => __( 'No items', 'pxlr-plugin' ), 'items_list' => __( 'Status list', 'pxlr-plugin' ), 'items_list_navigation' => __( 'Status list navigation', 'pxlr-plugin' ), ); $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( 'property_status', array( 'pxlr_property' ), $args ); } add_action( 'init', 'pxlr_property_status', 0 ); }