Not sure how to list all (custom) posts in child term of taxonomy.
I made a Custom Post Type of Newsitems
With a hierarchical taxonomy with terms
Here’s what I did:
Write a new Newsitem with term Press
Display all the News on a page with a custom template news-page.php gives me a nice listing of Newsitems by using $news = new WP_Query(‘post_type=newsitems’) etc.
Viewing that single newsitem posted in Press with a list of terms (get_the_term_list) with a custom template of single-news.php gives me the content and the terms:
Posted in Press (url=news/press)
And the bummer: clicking on Press to show all the news in Press gives a 404. Could anybody explain why and how to solve this? Thanks
- The topic ‘Hierarchical taxonomy 404 Not Found’ is closed to new replies.