I want to create a custom template for my job post listing
I have registered a new custom post type, job
. Then I have created a template for a single job post, single-job.php
, which works fine.
But when I enter URL www.xyz/job
all records are displayed using the index.php
template which, is the one that my blog uses. How can I create custom template for www.xyz/job
records so I can edit it independently without touching blog template, which is index.php
?