Reputation: 61
Hi I've created a custom post type called shows.
here is the code for it. Pastebin
I've created 2 files that follow accordingly to the wordpress hierarchy and called them archive-shows.php and single-shows.php. These should automatically link to the correct pages however for some reason they both default back to index.php.
Fix's tried Permalinks Flushed has archive = true
please any suggestions.
Upvotes: 0
Views: 814
Reputation: 3850
Make sure your .htaccess file has the correct permissions to be writable.
Upvotes: 0
Reputation: 61
Try Wordpress Admin => Settings => Permalinks and choose anything else then "Default"
Upvotes: 1