How to display an index-like page for "Custom Post Types"
-
I have a custom post type called “articles” where I want to be able to click on a menu link and display a number of article summaries (title, author, date, excerpt) on one page — in the same way an index.php page would display ordinary posts.
Currently, I have an “Articles” blank page so these summaries are being displayed by using a template: archive-articles.php (as the Codex suggests) but this displays an “Archives” heading at the top. I need to find a way to get rid of the “Archives” heading when the intention is just displaying the “Articles” page, but still allow this heading when I’m clicking a link to actually show an archive.
There has to be a way to do this… any ideas?
- The topic ‘How to display an index-like page for "Custom Post Types"’ is closed to new replies.