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 a quick question:

Is it possible to have multiple child themes activated at once? I need to have many different page templates activate at once. If it's not possible how can I go about it?

share|improve this question

No, this is not possible. You can only have one theme activated at any given time.

However, you can add as many page templates to a single theme as you want. They just need to be in separate files. For example, my theme contains:

  • page.php ← Standard page template
  • page-archive.php ← Page template for special archive pages
  • page-blog.php ← Page template for a custom blog page
  • page-landing.php ← Page template for special marketing campaign landing pages

You can build any hierarchy you want, so long as each page template file includes the regular page template header:

<?php
/*
Template Name: About Page
*/
?>
... The rest of your regular template file continues below ...
share|improve this answer

Your Answer

 
discard

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.