Getting started with required+ Foundation is pretty easy. You can download a copy or fork the parts from GitHub. The installation process and basic customization to get you flying with your own child theme are what follows.
Install the themes
No matter how you got them, the goal is that
required-starter are in your
themes directory within your WordPress installation.
Structure: This is how your folder structure should look like:
/wp-content /themes /required-foundation // parent theme, don't change /required-starter // child theme, make it yours!
A quick note on parent themes
By nature a child theme depends on it’s parent theme, you can however change all you need in your child theme and still update the parent theme without destroying your site. See what the Codex says about child themes.
Learn more about child themes
Child theme – make it yours
We are almost there, the following steps help you get ready with your child theme. Please don’t activate your child theme until step 3, except for testing purposes.
1. Rename the folder
themes folder rename the folder
required-starter to make it yours. We usually go with the site or project name, but that’s up to you.
2. Customize style.css
Next you are going to change the file header for your theme in the
style.css file of your renamed child theme folder.
/* Theme Name: Your Child Theme Name Theme URI: http://example.com/ Author: Your name Author URI: http://yourdomain.com/ Description: Your super awesome description of the theme. Version: 1.0 Template: required-foundation Text domain: yourcustom-textdomain */ /* Make the template work */ @import url(../required-foundation/style.css);
The theme header
The following two elements make your child theme work, so don’t change them and we can stay friends.
/* ... Template: required-foundation ... */ @import url(../required-foundation/style.css);
In case you added your own
Text Domain in the theme header, a quick search and replace in the child theme files makes sure translating WordPress is easy. Just search for
3. Activate your child theme
You are all set now, go ahead and activate your child theme from the WordPress backend. It’s time to play and build your next responsive WordPress theme.
Only the features you need
It’s time to start customizing your child theme. Learn how to activate and deactivate theme features and create the functionality you need.
Control theme features »