Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am using a custom category in more that one custom posts.

    register_taxonomy( 'location', array('holiday','resorts' , array(
         'hierarchical' => true,
         'labels'       => array (
              'name' => 'Locations',  
              'singular_name' => 'Location',      
              'search_items' => 'Search Location',     
              'all_items' => 'All Locations',  
              'parent_name' => 'Parent Location',      
              'parent_item_colon' => 'Parent Location',     
              'edit_item' => 'Edit Location',   
              'update_item' => 'Update Location', 
              'add_new_item' => 'Add New Location',     
              'new_item_name' => 'New Location Name',   
              'choose_from_most_used' => 'Choose from the most used Location',
              'separate_items_with_commas' => 'Seperate Location with commas'
         ),
         'show_ui'       => true,
         'query_var'       => true,
    );

I have a location category which I am using it in custom posts holiday and resorts

I need to display only holidays in taxonomy page?

And also the post count shows sum of both custom posts.

How to show the counts of each post separately?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.