Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

1 Answer 1

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.