You may need to search or filter your page/portfolio by an extra taxonomy, such as category or Tags.
I want to add an another taxonomy so the WP Ultimate Post Grid can create an extra filter by that.
I will add a new taxonomy below to enable another type of portfolio filter.
To manually add a taxonomy, do below:
add_action( 'init', 'create_subjects_hierarchical_taxonomy', 0 ); function create_subjects_hierarchical_taxonomy() { // Add new taxonomy, make it hierarchical like categories //first do the translations part for GUI $labels = array( 'name' => _x( 'Customization', 'taxonomy general name' ), 'singular_name' => _x( 'Customization', 'taxonomy singular name' ), 'search_items' => __( 'Search Customization' ), 'all_items' => __( 'All Customization' ), 'parent_item' => __( 'Parent Customization' ), 'parent_item_colon' => __( 'Parent Customization:' ), 'edit_item' => __( 'Edit Customization' ), 'update_item' => __( 'Update Customization' ), 'add_new_item' => __( 'Add New Customization' ), 'new_item_name' => __( 'New Customization Name' ), 'menu_name' => __( 'Customizations' ), );
Then register the taxonomy:
// Now register the taxonomy register_taxonomy('Customizations',portfolio, array( 'hierarchical' => true, 'labels' => $labels, 'show_ui' => true, 'show_in_rest' => true, 'show_admin_column' => true, 'query_var' => true, 'rewrite' => array( 'slug' => 'Customization' ), )); }