Archived topic
Show custom post type by custom taxonomy
3 replies · Started by Silvano on November 21, 2020
Hi,
I can't list a cpt for it's own custom taxonomy.
I created a cpt (professor) and a custom taxonomy (class) for this cpt with the CPT UI plugin.
To show these cpt I created an archive page by copying the archive.php page and renaming it to archive-professor.php
So far I can see all the professor cpt. :)
So in secondary navigation I created a menu for this custom taxonomy with 4 categories. When I try to list the posts with any of the categories it returns page not found.
Did I miss something here?
I just want to list the posts , all or by category.
Hi there,
can you share a link to your CPT archive so i can take a look at the issue?
Hi David!
I don't know what I did yesterday, but today I decided to recreate the CPT and another copy of the website and it is now working. : /
I'll compare it with the other version to find out what was wrong.
Anyway, thank you very much for your attention. :)
Glad to hear that!