WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some custom post/page template files I would like to keep better organized by placing them into a folder inside my themes directory. Is this possible, or would I need a line of code in my functions.php file?

If so, what is the line for functions.php?

share|improve this question

You should be able to add to the single_template filter. Check out this article for more.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.