If You are a GeneratePress Theme User or any Other Theme User, Don’t Lie You’ve Tried to Change The Functions.php Code But Failed, As I Did.
Here, in this blog post, I Will Guide You How to Make Child theme in WordPress! for Fee.
What is a Child Theme?
A child theme is a supplement for your existing Parent theme in WordPress.
Child Theme is a Theme that inherits the Functionality and Styling of Parent Theme, According to The WordPress Codex.
Child Theme is Used to Modify The Parent theme Without Losing their Style and Functionality.
Now, the Question arries “ What is a Parent Theme Now”?
The parent theme is a Theme That is Proclaimed by the Child Theme.
Parent Theme Feature Allows The Developers To Take Big Advantage of a huge WordPress Theme, by editing Theme with child themes.
Now, You’ve Known About The Parent and Child Theme, Another Question Will Be
PRABEJ How Can I Make A Child Theme for GeneratePress? You Need Not Worry, I am here To Help You Out.
How To Make Child Theme in WordPress For GeneratePress!
Now Open Your WordPress Admin Panel -> Click on Appearance -> Upload Theme >
Upload Your Child Theme -> Activate the Theme as Usual
After You’ve Successfully Uploaded The Theme It looks like This ->
Every Theme(Like Neve Theme, Hestia Theme, and many more) Provide Child Theme, Download Their Child theme, and Upload To Your Site.
Note That You Might Need to Re-upload Your site Logo.
To Change The Logo > Go to Appearance > Customize > site Identity > Upload Your Logo.
Some of Us Don’t Like To Add Child Theme, and Luckily there is a way to Edit Functions.php.
There is a Plugin For WordPress called Code Snippets That Exactly Does What we want to ( Edit Functions.php)
To Install Code Snippets:
Go to > Plugins > Add New > Search Code Snippets and Click on The Very First Item.
Click on Install Now -> Wait for Sometime -> Click on Activate.
Now, an item will be Added Named as Snippets.
How to Add Code to Your Functions.php?
Click On Snippets-> Add New.
And You will be Redirected To the dashboard of Code Snippets.
Add Your Snippet Title, Code To Add in Functions.php, Description -> After You’ve Filled The Title, Code, Description -> Click on Save Changes and Activate.
Now, You’ve Successfully Added Code To Your Functions.php.
If Your Ran into Any Problem While Adding Code, Make Sure You Leave a Comment Below so I Can Help You out !!
That’s all for my Guide, How to make a child theme in WordPress.
Which of the Methods Mentioned above are you going to Trial?
Let me Know by Leaving a Quick Comment Below.
Methods Above Are Safe and Easy To Make Changes to Your Functions.php, There’s Nothing to Worry About!