How to link in archive.php template file
-
I have created custom post types in my WordPress installation, and I want to use archive-{custom post type}.php in order to list the respective custom post types.
The websites I’ve visited seem to indicate that i <i>must</i> use this archive template file directly on a page create in my wordpress for the specific purpose of listing these post types…
I find this abit conflicting since archive.php is a default template file used and recognized by WordPress so in my mind it should be useable without creating a WordPress page for this. Is this possible? If so, what’s the URL I should expect to hit to get to this listing? is there a WordPress function that will generate me the permalink/url for this template file without having to create a new page?
Thanks.
- The topic ‘How to link in archive.php template file’ is closed to new replies.