Custom Taxonomy Term link leads to Front Page
-
I’ve created a custom taxonomy called “genre”. It resembles the hierarchical structure of categories. When creating this custom taxonomy, I also enabled the rewrite permalink base and all of that.
I’ve recently tried to output a term list of the taxonomy using the get_term_list function from wordpress. This worked out perfectly and I was able to get linked terms as the output.
Here is the problem though, every time I try to click on the term, it generates the following url.
https://websitename.com/genre/term-name/
Which seems perfect, but the link leads back to the front page instead of it’s a page where it would list other posts that are attached to the same term. However, I haven’t created a template or page for this, I assume the template part was done automatically. I’ve also tried a plugin where the search would be filtered by genre, and it would lead to the front page right when searched as well.
Could anyone come up with a solution or help troubleshooting this problem?
- The topic ‘Custom Taxonomy Term link leads to Front Page’ is closed to new replies.