How to fix 404 on post after prepending Custom Post Type url with Custom Taxonomy Term slug
First, you don’t need to have two actions called during init, they can both be done under the same action function — so move the register CPT and taxonomy to a single function (or call separate functions from the main one) — no need to have two init actions. You should also be registering the … Read more