I’ve got everything working with three custom content types except the archive list pages and category list pages. I don’t want to use plugins (tried them, too much complexity, not enough control, insufficient results, conflicts with other plugins). If people can point me to solutions and ideas, I’d be grateful.
Using one content type as an example, here is my register function:
I’ve created an FAQ template and assigned it to a page called FAQs (so the URL is /faqs, as in the rewrite value above, in the register function):
First problem: when I call up mysite.com/faqs I get an initial page load of 2 items with an “Older Posts” link. When I click the Older Posts link, however, I get a 404 for /faqs/page/2/ URL.
Second problem: on the mysite.com/faqs page, when I click a category link included in an entry, I get the default Hello World post, not my custom type FAQs entries. I’m using the default WordPress category taxonomy, not custom taxonomies (not needed, in this case).
When I created an archive-faq.php page, I still got the 404. So I switched to the older method of using and assigning a template.
Any ideas how to get the /page/2/ URL working with my template, or how to get archive-faq.php to be recognized by WordPress, would be appreciated. Same for getting the categories to display (which are not custom taxonomies).
- The topic ‘Custom Post Type Archive Page Issues’ is closed to new replies.