Custom Taxonomy Terms Page Not Found
-
I’m getting a Page Not Found message when clicking on the link to display the terms in a taxonomy
Scenario:
I have a custom post type called glossary
Attached is a custom taxonomy called section with the rewrite set to “library/glossary-start-here”I want a page that lists the terms in the taxonomy. This is a WordPress page with the slug of “glossary-sections” – the template for the page is set to “taxonomy-section.php”. The page is a child of “library” and so the permalink for the page is “example.com/library/glossary-starts-here/glossary-sections/“
The template “taxonomy-section.php” has the following code:
<?php // Begin header section. $argterms=array( 'include' =>array( 117,118,115) ); $terms = get_terms('section', $argterms); echo '<ul>'; foreach ($terms as $term) { echo '<h3><a href="'.get_term_link($term->slug, 'section').'">' . $term->name . '</a></h3>'; } echo '</ul>'; ?> <div> <?php
When clicking on the link to the page “glossary-sections”, which is used on a number of other pages, I get a page not found message.
I’d appreciate any suggestions on why this isn’t working and how to correct it.
I’m particularly puzzled by the fact that I can specify a page like “glossary-section” and yet have it not be found.Thanks.
- The topic ‘Custom Taxonomy Terms Page Not Found’ is closed to new replies.