Search code examples
phpwordpresswordpress-theming

The parent theme is missing. Please install the "ABC" parent theme


I have a wordpress-3.3.1 instance and two themes installed. Theme A is parent theme and theme B is a child.

I'm trying to make theme C which is a child of B, but I get a message in wordpress:

The parent theme is missing. Please install the "B" parent theme.

Is it possible to make double inheritance in Wordpress themes?


Solution

  • Adding a file named index.php to Theme B seems to trigger Theme C to show up as 'working' (so you can activate it).

    I guess you could then require_once the index.php file from Theme A in your new index.php in Theme C.