Suppose i have registered five custom post type like this
america china nepal norway chile
And to template the archive i should use like this inside theme folder isn't it?
and so on?
But the thing is all of them have same code? And i don't want to make five files with same coding ? And basically it violates DRY as welll
Is there any hooks etc. like template redirect etc so that i can use one php file for such selected custom post type like
i know i can use
archive.php but i want to show same teamplate for some selected custom post .
Is it possible?