As of May 31, 2023, we have updated our Code of Conduct.

New answers tagged

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 ...
Caleb's user avatar
  • 474
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 ...
PhpDoe's user avatar
  • 123
0 votes

Get parent id by term id

To get all parents of "category" you can use : get_ancestors($term_id, 'category', 'taxonomy');
Mantas Karanauskas's user avatar

Top 50 recent answers are included