Creating a child theme is the best way to start customizing any WordPress themes. There is one major reason for that you won’t loose any of your customizations when you’ll update the parent theme and If you edit directly the style.css or functions.php files of your theme, the update will just delete everything.
Step 1: First you need to open wp-content/themes/ in your WordPress installation folder and create a new folder for your child theme. You can name this folder anything you want. For this tutorial, we will be naming it level-up-child.
Step 2: Open a text editor like Notepad and paste this code:
/*
Theme Name: Level Up Child
Theme URI: https://wplevelup.com/
Description: A LevelUP child theme
Author: Ahmed Kaludi
Author URI: http://magazine3.company/
Template: level-up
Version: 1.0.0
*/
@import url("../level-up/style.css");
Step 3: Now save this file as “style.css” in the child theme folder, you just created. The last line in this code imports our parent theme’s stylesheet to the child theme.
Step 4: You can now go to WordPress Dashboard ->Appearance -> Themes where you will see LevelUp Child Theme. You need to click on the activate button to start using the child theme on your site.
With the help of this you can customize your WordPress theme and make it update proof.
That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.
If you want to add an AWeber form in AMP then first you need to…
Webpushr is the fastest growing web push notifications platform that marketers love & developers rely…
Follow these steps to add Adobe Analytics in AMP Step 1: Go to WordPress Admin Area -> AMP…
Core Web Vitals are the subset of Web Vitals that apply to all web pages,…
The following reasons can be shown for non-indexing. Server error (5xx) Your server returned a 500-level…
We have added the Google Analytics 4 ( GA 4 ) integration in AMPforWP v1.0.80.…