0
votes
0answers
24 views

Getting all the associated categories of posts in a specific custom taxonomy?

Is it possible to list all the categories of posts associated with a specific custom taxonomy? For example; My custom taxonomy is Resorts. In Resorts I have Posts 1, Post 2, Post 3. Each post has a ...
0
votes
1answer
28 views

Custom taxonomy list in Worpdress

I just registered following code in my function add_action( 'init', 'create_resources_taxonomies', 0 ); function create_resources_taxonomies() { $labels = array( 'name' ...
0
votes
1answer
198 views

Get terms for a specfic post from multiple taxonomies in custom post type

I have created Custom post type 'references' and two taxonomies under this e.g "Custom Taxonomy A" have Categories "Cat-a1" , "Cat-a2".... "Custom Taxonomy B" have Categories "Cat-b1" , ...
0
votes
0answers
217 views

Dynamic Subcategories in dropdown list

How do I Create Dropdown list of subcategories? Example: Category1 -Subacategory1(dropdown list) --SubcategoryA --SubcategoryB --SubcategoryC -Subacategory2 -Subacategory3 my code ...
1
vote
2answers
365 views

get_categories() for only CPT

On the site that I am working on I have Jobs as a custom post type and Locations as custom taxonomy. The Locations are used by Jobs, Posts, and other CPTs. I am working on a small filter for the ...
0
votes
1answer
764 views

get_category_parents for custom post type taxonomy

I know that we can get the parent category in normal post type by: get_category_parents($cat, TRUE, ' » '); But how can we get the parent category in custom post type? I use this for: ...
0
votes
3answers
504 views

Trying to add taxonomy to get_categories() but it's not working. How to fix this?

I have this template I purchased and I'm trying to customize. I added a new taxonomy category called location and I'm trying to replace the default categories being loaded in the theme with my new ...