Separate by Category Post Type
To get custom post type posts with specific category use custom taxonomy Register the taxonomy name of the custom post type like location and then assign location to each post when you added new post. Here is the example of the code add_action( ‘init’, ‘hotels_my_taxonomy’); function hotels_my_taxonomy(){ // custom post type taxonomies $labels = array( … Read more