How to Create WordPress Child Theme without Plugin

  1. Create folder :  Create folder with “Astra-child” name (Write According to what theme you are using)
  2. Features Image :- insite of folder you need thame Features Image (You can direct li go to your dashboard and Thame > right click on your theme Photo and save as image and download it .
  3. .css File :- you need to create css file with file name “style” > inside of this file you have to past this code

(Note :- if you can not direct create css file first creat txt file past code and replace .txt to .css)

/*
Theme Name: astra-child
Theme URI: https://www.wpamit.com/
Description: Astra is fast, fully customizable & beautiful theme.
Author: BlogsTour
Author URI: https://www.wpamit.com/
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/license/gpl-2.0.html
Tags: two-column, responsive-layout
*/ 

4.  .php file :- you need to create php file with file name “functions” > inside of this file you have to past this code


add_action( ‘wp_enqueue_scripts’, ‘hubspot_blog_theme_enqueue_styles’ );

function hubspot_blog_theme_enqueue_styles() {

wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );

}

5. Compres :- Compres the folder “astra-child” (Note : insite of this folder three file needed ‘Features Image, style.css and functions.php)

6. Install on wordpress

Download Demo :- Click here 

 

guide Video :- https://www.youtube.com/watch?v=Sfrlcq7CCdw

Leave a Comment

Your email address will not be published. Required fields are marked *