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? – Arsalan Mithani Feb 21 '17 at 9:58
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, privacy policy and cookie policy

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