New answers tagged terms
0
votes
Taxonomy Archive URL + Template
Taxonomies do not by default have their own archive page, only the taxonomy's terms. You can test this by going to /category/ on a clean WordPress install: you'll get a 404 for the built-in Category ...
0
votes
Taxonomy Archive URL + Template
Without the code of your Custom Post Type it's kind of difficult to answer. I have few hypotheses :
Have you flushed the permalinks ? You have to go to Settings > Permalinks > and click on Save ...
0
votes
Get parent id by term id
To get all parents of "category" you can use :
get_ancestors($term_id, 'category', 'taxonomy');
Top 50 recent answers are included
Related Tags
terms × 1416custom-taxonomy × 617
taxonomy × 379
custom-post-types × 234
categories × 159
wp-query × 89
php × 86
loop × 51
woocommerce-offtopic × 46
tags × 44
posts × 41
query × 40
functions × 39
order × 37
customization × 35
slug × 33
custom-field × 29
array × 28
hierarchical × 27
plugins × 26
filters × 26
tax-query × 26
advanced-custom-fields × 23
count × 23
advanced-taxonomy-queries × 22