I have 2 post types (job, resume) and sharing 1 custom taxonomy (cities)
it's for jobs in "New york" and it's also for jobseekers in "New york" (resume is the post-type for jobseeker)
register_taxonomy( 'city', array( 'job_listing', 'resume' ), array( 'hierarchical' => true, //'label' => 'Location', 'label' => __('Locations1', 'Locations2'), // both of them shows "locations1" there is no "locations2" on resume //'query_var' => true, 'query_var' => 'location', //'rewrite' => true 'rewrite' => array( 'slug' => 'locations' ) )
It works ok but I need to know how to get them to displayed.
On backend, it shows ok but it's all total posts amounts.
problem : these display all amount of posts. not each post_types.
On front-end, I need to show 2 lists
"jobs in Newyork", "resumes in Newyork"
How can I get them?