WP Child Themes

WordPress child themes are really simple to make, but I’ve noticed most tutorials are more complicated then they need to be.

All you need are two files in a folder: style.css + functions.php

Style.css

Replace Template: twentyseventeen with the name of your parent theme (it will be the folder name):

folders
folders

function.php

If you notice the formatting / CSS isn’t working, check the path to your Parents CSS 'https://cdn.isaac.io/style.css'

You can include a theme image by adding an image with the name “screenshot.png” in the root folder.

wp
When you are all done, it should look like this

If you are lazy like me, here are the downloadable files.

screenshot
screenshot.png

Lastly, don’t forget to activate your new child theme.

Isaac Adams-Hands

Full Stack Developer, Digital Marketer, and InfoSec enthusiast. He received his Bachelor’s Degree from the University of Western Sydney and his Business Diploma from Georgian College before joining various marketing positions in search portals, e-commerce, higher education, and addiction recovery services.

Follow @ twitter

Related posts

Add a Gravity Forms shortcode in WordPress (PHP)

To add a Gravity Form shortcode in the header, page, footer templates… pretty much anywhere in the theme, just add this code in your PHP file. Gravity Forms Code: You can also add the embed codes: Basic This snippet will display the form with an id of ‘1’; the title and description will not be… Read More

Bulletproof / Simple Contact Form

I just need a simple contact form that always works. Less code the better. No bells or whistles. If spam becomes an issue, I can add a Google reCAPTCHA. Contact Form Code: