sort CPT on Custom Taxonomy Archive page

In my archive-product_category.php I have this (relevant) code Are you sure that’s the correct name? Because for a post type archive, it should be archive-al_product.php and for a taxonomy archive page, it would be taxonomy-product_category.php. Anyway, (as I said in the comments) if you want to target the taxonomy archive page, you should use is_tax(), … Read more