i’ve been organizing my sites template files into a sub directory, which is now possible with wordpress 3.4. but when i move a custom post-type single file (ie. single-news.php) into the sub directory, it is not recognized. anybody have any experience with this new feature?
Leave a Reply
You must be logged in to post a comment.
The solution shared in this answer on StackOverflow works for me:
https://stackoverflow.com/questions/4647604/wp-use-file-in-plugin-directory-as-custom-page-template#answer-8255556
Yeah only the page templates are recognized & not the archive,single etc. templates. Your single file has to remain in the root folder.