Site icon Hip-Hop Website Design and Development

Store Page Template Files in a Subfolder

I have number of legal documents of different formats / layout that I need to display on a WordPress site, however I don’t want to have them as individual page-pagename.php files in the root of the project folder. I know I can use get_template_part() and load in different template files, but this won’t really help me because the files are all of differing styles.

Is there any way of storing pages in a subfolder called, say, legal, and then pulling in files from this folder as fully complete pages when people click on the appropriate links on the site, otherwise the root folder for the site is just going to be cluttered mess with endless individual page-pagename.php files.

Many thanks