Introducing our WordPress Child Theme Generator


Don’t feel like reading?

Build your own WordPress child theme now:

WordPress child theme generator

One of the biggest benefits of building your site using WordPress is you have total control over your website. Want to move the menu? Go for it! Want to add a custom section to your homepage? You can do it! And unlike hosted solutions that greatly limit code customizations, resulting in hundreds of cookie-cutter sites, the sky is the limit when you choose to use WordPress to build your website.

With great freedom comes great responsibility. WordPress at it’s core is all about freedom. You can do whatever you want with the code and the same is true when it comes to WordPress themes. You own the code and are free to use it and change it in any way you see fit.

Sometimes, however, modifying the code of WordPress themes can bite you in the ass.

WordPress child theme

Storytime

Take Jake for example. Jake downloaded one of our WordPress themes and immediately started changing the theme code to suit his needs. Soon thereafter, an upgrade to WordPress was released introducing some sweet new features (live theme customizer, header images, custom menus). We decided that our themes (new and old) should support these new features, so we updated the themes for our customers. But Jake had spent hours and hours customizing the theme he downloaded and upgrading to the latest version would wipe out all of his changes.

Jake was stuck. He could either upgrade his theme to the new version so he could take advantage of all the new features or stick with his older customized version. That’s not a place we want anyone to be in.

Jake should have created a child theme to protect his theme changes. What is a child? According to the WordPress Codex:

A WordPress child theme is a theme that inherits the functionality of another theme, called the parent theme. Child themes allow you to modify, or add to the functionality of that parent theme. A child theme is the safest and easiest way to modify an existing theme, whether you want to make a few tiny changes or extensive changes. Instead of modifying the theme files directly, you can create a child theme and override within.

Now that you understand what a child theme is and why it’s the smartest way to customize your theme, let’s take a look at how to create your own child theme.

Changing CSS Styles

At it’s very basic level, a child theme is merely a style.css file located in a folder inside your themes directly. For example, if I wanted to create a child theme of our “Stock Photography” theme, I would create a folder called “stock-photography-child” and include a style.css file in that folder with this in it:

There are two absolutely critical things that you pay attention to in the above code. The first being:

Template: stock-photography

The “stock-photography” bit refers to the folder name of your parent theme. The second important bit is:

@import url("../stock-photography/style.css");

This line imports all of the css styles of the parent theme (Stock Photography).

Any CSS that you add to your child theme’s style.css file will override the CSS styles of the parent theme. Pretty cool, eh? Now that you know this, simply never ever muck with your parent theme template files. Now you can simply inspect your website’s code and css using Chrome’s Developer Tools or Firefox’s Firebug. Decide on the CSS changes you want to make and add those changes to your child theme’s stylesheet (style.css).

And that is just the start.

Overriding template files

Any theme template file that you place in your child theme folder will override the corresponding template file in your parent theme folder. So let’s say that you want to tweak the homepage. Copy either the home.php or index.php file and put it in your child theme folder. Make your edits and save.

Adding functionality

Want to add some special functionality to your child theme? Create a functions.php file and define some php functions to use in your child theme following these instructions found at the WordPress Codex. If you need to include other php files that fall outside of the WordPress template hierarchy, you want to follow these instructions.

Feeling overwhelmed now? Fear not! We’ve created a tool for creating WordPress child themes in just a couple clicks. Protect your theme changes folks! Click the button below and build your own WordPress child theme.

Build your own WordPress child theme now:

WordPress child theme generator

This entry was posted in Announcements, Blog, Tutorials. Bookmark the permalink.

Posted by , at Graph Paper Press

Thad is a photographer, designer and developer who embraces the evolution of storytelling on the web. He lives in Brooklyn, NY with his wife Abby.

  • Google
  • Blog
  • Instagram

  • Pingback: Graph Paper Press Offers Customers WordPress Child Theme Generator

  • http://www.squirrly.co/ Alexandra Petean-Nicola

    It’s wonderful for you to present a solution for all of your customers that face the same dilemma as Jake.

    • http://graphpaperpress.com Graph Paper Press

      Glad you find it useful!

  • hawas2540

    Ex banquero inscribe candidatura y se perfila como principal rival de Correa en EcuadorI seen it happen.Pontoon boats are the most popular sort of fishing boats for sale on the internet.It intention expense miniature money to through to superlative eminence Nike shoes.Do you want to decorate around your house and give your own personal touch to it?Our favorite decade is full of hot TV, crazy fashion, and heartthrobs from our teen years.They are often preoccupied concerning how they can satisfy their partners as well as how they prove their best.Job Interview Questions: What should you do when an interviewer asks a puzzle question you already know the answer to?

    Hardware speed test showed I practically had an SSD, although when I played, the problem was still there.Gan el zurdo Wander P rez (1-0) salomon s que solamente sac un out, perdi el derecho Edward Valdez su segunda derrota de la temporada.Leave Room on TopBlitzer said Goldman Sachs, in particular, will give financial firms a larger representation on the DJIA.He borrowed from the European Orientalist art, Russian icons, Byzantine mosaics, Greek vase paintings, images of Indian and Egyptian art, although when asked about the sources of his inpiration he admitted only to loving the Persian and Indian miniatures and Greek vases he saw at the Hermitage Museum, St.

    Whether it is in an apartment complex or a public building, choose the stairs over the escalators and elevators.Namely, high turnover rates and salomon mountain questionable defence.Nike Company always applies the new technology in the making from the products in order to reach the requirements of customers., have never formed the great break-through.I am sure cheap Womens Jordans will remain as popular as a shoe as they have been, during all these years.There are many diverse varieties of the cherry blossom which some don’t really know.Although experts vary on how often to replace a pair of shoes, a good standard to go by is to replace your shoes every 350 miles or six months, whichever comes sooner.

    Unfortunately the availability of these fake Jordan sneakers is widely available.I do find that I feel a bit of “fullness” in that general vicinity, but am not sure how much of that is “contrived” and how much is real.Enterprise has only a 1/2 hour run to the fishing grounds.Working in small sections, comb your hair straight out from your scalp and hold a section smoothly between your index and middle fingers.The Promise brand now belongs to Unilever, Englewood Cliffs, NJ 07632, and the packaging has changed.During massive rains, especially when he is neither raging nor esurient, Nok Hasadee fancies making disturbance by performing an enormous ‘khawng wong yai’ cheap jordans for sale or, but, sensing the groom of the woodland with his neb.

    First it needs to step-down the high voltage coming from the outlet to a lower voltage that the cellphone can handle.Thanks to Auto-Tune (and The-Dream – of Rihanna’s “Umbrella” fame), practically anyone can release a hit single.The Journal preferes articles on eco-safe farming, high-tech agriculture / horticulture forestry etc.We supply the stink bombs and singing telegrams.freedom.Use EFT money tappings to get un-jinxed.can catch a peek at it in the photo below.2 millionYou’ll find that there are business, housing and college grants for single mothers.cContrast of colorI couldn get out of bed to deliver his milk to the NICU, and the poor nurses were often too busy to cart it down there for me.

  • Sudheer Yadav

    INDIAN ACTRESS WALLPAPER ON http://www.guruofmovie.com/