0

I'm working on a specialized site design and I'd like to know if it's possible to have a theme made out of one single php page. I seem to recall that it was possible but there were some issues with it.

I'm trying to make it as simple as possible so I would like to exclude answers based on child themes. I don't want any extra CSS, JS or HTML.

1
  • please add more explanation, are you looking for single page theme? or want to make a single page template? Commented Feb 21, 2017 at 9:58

1 Answer 1

2

You could code it all in the index.php file in your theme folder.

Just write all the code in the file. Be sure to call the functions like wp_head() etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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