March 28, 2024

Learn To Create WordPress Child Theme

Learn To Create WordPress Child Theme

Hello Friends, Today i am going to teach you how to Create WordPress Child Theme. As you know that there are several WordPress themes available for free, but sometimes we cannot find the theme as our requirement, for that we can create a child theme by using simple steps for your website.

How A Child Theme Works And Why To Use It

Child themes are separate from parent theme but it depends on the parent theme for their functionality. Child themes are mainly created for the purpose of saving the customization made by user. In other words, we can say that if we want to use any WordPress theme and want to do some customization in that theme, then we should create a child theme of that WordPress theme so that in future if there is any updation in parent theme even then our customization doesn’t get lost.

SO lets start creating your first WordPress Child Theme

Step 1

Go to your theme directory i.e. C:\xampp\htdocs\wlp\wp-content\themes and create a folder of your child theme and name it twentyfourteen-child.

child_theme1

Step 2

Now inside child theme directory create a style.css stylesheet and copy, and paste the following code in the file you have just created.

/*
Theme Name: Twenty Fourteen Child
Theme URI: http://weblpoint.com/twentyfourteen-child/
Description: My first child theme, based on Twenty Fourteen
Author: Raj Techie
Author URI: http://weblpoint.com
Template: twentyfourteen
Version: 1.0.0
*/
@import url("../twentyfourteen/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

The important items in above code are lines starting from Theme Name, Template and @import. Theme name tells the name of your child theme, The template tells WordPress which theme it should consider as the parent theme and @import tag imports the CSS from the original. The other details are not mendatory but only to display other details like Description of the theme, Theme URI: from where the theme should be downloaded, Author: name of the author of theme,Author URI: display about the author of the theme and Version: version of the theme.

Step 3

theme_activate

Now activate your child theme by visiting Appearances > Themes. Your theme is active and now you are ready to customize your child theme according to your need.

Thank You

About The Author

I am Raj Techie. I am a software developer. I like to share my knowledge with others. I created this website so that i can share my knowledge with as many people as i can through the mode of Web Learning Point.

Related posts

16 Comments

  1. Pamala

    I see many sites outrank your blog in google’s search
    results. You should build more contextual backlinks.
    These type of backlinks are the best after all these google algorithm updates.
    Writing content is hard work, but i know what tool will save you a lot of time.
    This tool can also make you money, just search in google
    for:
    Haough’s Essential Tool

    Reply
  2. Mathwrotrosy

    Extra oxygen should be given if available. [url=http://comprarpropeciaspain.com/#raugwxg]propecia calidad[/url] HRT O Circle the term in parentheses that best completes the meaning of each sentence.Test to detect occult hidden blood in feces.

    Reply
  3. is Truth about six pack abs a scam

    The first few pages from the e – Book, I have to admit, got
    me a little motivated. These are some in the best ab exercises you can do to
    develop six pack abs. Sleep deprivation can be associated with
    several medical conditions, including heart problems.

    Reply
  4. hummingbird attracting plants shade

    Here, you don’t need to compromise with the length of the
    design while there is enough space readily available for really large tattoos.
    Using a baby bottle brush, scrub inside the feeder and then rinse them thoroughly
    before refilling them. Hummingbird tattoos sneaking through low-cut jeans is both mysterious and tempting.

    Reply
  5. kate middleton weight loss after pregnancy

    This will make sure that the body gets every one of the vitamin supplements who’s needs.
    Including snacks as well as only one bit of food, because following the week when you
    review your food diary, you may well be shocked at the amount food you consumed.
    According to your study inside American Journal of Clinical
    Nutrition 85: 1465-1477, 2007, various diets produce short- term fat loss,
    but long-term perseverance is harder.

    Reply
  6. Johnathan

    Yo-yo dieting or weight cycling refers to the diet plans menu.
    It is the fact that sodium consumption is often about being in control
    of your chest. This is attributed fair or not by only checking the fluctuation of your strength training, interval training and your
    amusement. Breathe in and out of the key to slim
    or whistle-bait figure.

    Reply
  7. lionel Messi jerseys for Sale

    I absolutely love your blog and find the majority of your post’s to be just what I’m looking for.
    Do you offer guest writers to write content
    for you personally? I wouldn’t mind creating a post
    or elaborating on a lot of the subjects you write in relation to here.
    Again, awesome blog!

    Reply
  8. Noella Pekala

    This means its back for the mom and pop bank for future borrowing needs Noella Pekala these loans are meant to deliver financial relief to folks who’re
    in demand for payday.

    Reply
  9. quest bars

    You’re so cool! I do not suppose I have read a single thing like this before.
    So nice to discover someone with genuine thoughts on this subject.
    Really.. thank you for starting this up. This website is one thing that is needed on the web, someone with some originality!

    Reply
  10. quest bars

    I’m not that much of a internet reader to be honest but your
    sites really nice, keep it up! I’ll go ahead and bookmark your site to come back later.

    All the best

    Reply
  11. Www.Kiss-esca.com

    Those four months had led me to neglect this portable port of a game and what it entailed.
    The 8-core processor and GPU are unified on the same die, providing 170GPBS bandwidth.
    The subject is allowed to play with the sand as they wish to.
    Some of the apps will require yoou to already have a subscription to
    them in order to access to their services ‘ think Netflix ‘ but tthe rest are completely free
    to use. Cooking all recipes ffor the grill starts with understanding
    how the grilling metho acts differently on different types of foods.
    This drill also improves your bunting skills which is often forgotten skills
    by manby of the players today. They are designed in such a
    way that they can catch large fishes like pelagic fish. I furthermore like the
    fact thnat the eel is entirely and scrupulously designed by
    hand. on the schedule, though I would put thhe game againstt Indiana at Fed
    – Ex field outside Washington DC almost in that class.

    ‘We will fix the issues through network updates, but because this is a security issue, we are not able to provide
    you with any more details. There are some odd ones too, such
    as Underworld Trading, and Splicing to name a few. Negative tactics towards Republican candidates are a time-honored
    tradition for legacy media who did the same
    thing to candidates like Minnesota governor Tim Pawlenty.
    The 25-year-old groom-to-be performed at the American Idol Live at the Staples Center on August 13, 2010 in Los Angeles,
    California. Lindsay Lohan topless Twitter picture – Sweet Lindsay Lohan posted a topless picture of
    her on Twitter. Find affordable prices on Xbox,
    Wii, Game – Cube, PSp, DS, GBA, PS2, PS3, iphone, game portals and conventional board
    games. Jesus Christ completed the work of the Cross on His
    Own with no help from you. Negligence, omission of reasonable care of car, or failure to remove vehicle
    keys while car is unattended will void coverage
    below this insurance contract. All NPC interaction takes place just like
    on Mass Effect, where the player watches the NPC talk (with voice acting), the player then has three dialogue
    options to choose. Heat the grill on HIGH with the lid closed to heat up the coals and grates to as hot a temperature as possible.
    Davros, one of the few remaining survivors of the Battle of Blackwater is saved
    by Salladhor Saan who drops Davros off at Dragonstone.
    It brings up a field that permits you to and your folks get Energy.
    Surf Rods: Considered to be the longest among fishing rods, they are heavier than others.
    If you want unlimited connection time and 20 GB a month, you can upgrade to a premium account
    for just $8 a month. The big question is, how can a patient build active range of
    motion and strength without the pain of physical torture.
    Gap Insurance: If you are driving a newer or unpaid for car, think
    about adding this coverage to your policy.

    Reply

Leave a Reply to google app store for tablets Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: