Web Hosting Forum - Net Hosting Talk

We are a community of individuals and businesses passionate about web hosting. Let's build, learn, and grow together.

[Tutorial] How to generate your personalized child theme for astra


Junior Member
Hello Members,

If you use the Astra theme and you have to make modifications in the theme's PHP files or customizations to add in the form of functions, the idea is that you do not modify the theme files but create a child theme.

Modifying the active theme files is never recommended because they will be lost when updating, so it is best to create a child theme.

Another thing is the style modifications through CSS, which you can always do in the WordPress customizer. They will be saved in the database so they do not affect the theme files, and you can constantly update them without a problem.

But we must make a child theme if we talk about WordPress functions or PHP, JavaScript codes, etc.

Here, you can generate your personalized child theme for Astra:

You don't have permission to view the spoiler content. Log in or register now.


If you opt for the most straightforward option, you have to give it a name and press the "Generate" button, but I encourage you to display the Advanced Options to customize it a bit.

You can customize the version number of the child theme, set yourself as the author with the URL of your website, and define your description of the child theme.


You can specify a custom slug (folder name) and even upload your custom image.


When you finish, you have to press the "Generate" button to create the child theme, and it will automatically start downloading a ZIP file with your child theme.

Now, you have to go to the administration of your WordPress, and in the Appearance section, you can add the new theme by uploading it.

Once installed, you have to activate it.

You will have your child's theme installed and active.

Have a great day. :)