Child Theme Installation Error

I am getting this error. The parent theme is missing. Please install the “x” parent theme. I have checked in my cPanel, and the parent theme is named correctly i.e. “x”. Please help.

Hi @ajayzero,

Thanks for writing in.

In this case, please share us your FTP and Admin credentials so we could your setup closer.

Don’t forget to set it in a secure note.

Thanks.

I am not using FTP. What will you need in that case?

Hi There,

On your Cpanel > File Manage navigate to this directory /wp-content/themes/, make sure that your parent x theme folder is named x, and your x child theme folder is named x-child

Check your parent x theme’s style.css file and make sure that this is what you see on the header.

/*

Theme Name: X
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: An immensely powerful and endlessly customizable WordPress theme.
Version: 5.1.1
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: __x__

*/

Yours might have a different version but that is fine.

Then check your x-child theme’s style.css file and make sure this is the header

/*

Theme Name: X – Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

If that does not work, please provide us admin login and cPanel credentials in a "Secure Note"

Have a nice day,
Cheers!

Hi!
Just a question, I’ve just dowloaded the theme, and found the x.zip, but there’s no x-child.zip file.
I’d like to know if it’s a mistake, but is not the file and I need it to keep on with the installation.
Thanks so much :wink:

Hello There,

x.zip does not contain the x-child.zip. You can download the latest X theme or x.zip from your dashboard here: https://theme.co/apex/dashboard

And you can also download the child theme or x-child.zip from here: https://theme.co/apex/child-themes

You must install the X theme first and then the child theme. You will have to upload both the zip files in Appearance > Themes > Upload. To know more how you can install a theme, please check this codex: https://codex.wordpress.org/Using_Themes#Adding_New_Themes_using_the_Administration_Panels

To install X theme, please see this: https://theme.co/apex/forum/t/setup-theme-installation/54

And to properly install an X child theme, please check this out: https://theme.co/apex/forum/t/setup-how-to-setup-child-themes/57

Hope this helps.