1
I’m learning to create a theme in Wordpress and created a Post Type custom. Inside the page I listed the categories created only for this Post Type specific. I just don’t know how to create a file that behaves like the Category.php only for those specific categories of Post Type servant.
I do not know if I was clear, but help me pls.
Yeah, I created the file that way, but it still goes to 404. Maybe I was wrong in functions.php or permanter link configuration
functions.php: register_taxonomy('produto_category','produto', $args);
– Géssica Danielly
If it goes to 404 the problem is not the same file, it is the address or how you created the taxonomy. If in
$args
you’re not puttingquery_vars
as false or by changing the value ofrewrite
the category should be accessible by/produto_category/SLUG
or so with some prefix if you set us like thisLinks Permanentes
.– Felipe Elia