I recommend that you use a child theme to customize the inLine theme. This will prevent WordPress from erasing any changes that you make when it comes time to update inLine.
If the concept of child theming is new to you, I encourage you to read the article on child theming in the Codex. This gives an excellent overview of how child theming works and why it is important.
To get you started, I have prepared a sample child theme for you to use. Please click the download link below and then follow the instructions to get started on creating your own child theme.
Click here to download the sample child theme for inLine!
Instructions for Setting Up Your Child Theme
- Unzip the
inline-child.zipfile to your preferred location. - Change the folder name to represent the name of your new child theme.
- At the top of the
style.cssfile, edit the following parts: - Theme Name: Change this to the name of your child theme.
- Theme URI: If your child theme has a URI, replace the one given with your own.
- Description: Replace the given description with one of your own.
- Author: Replace my name with yours or your company’s name.
- Author URI: Replace my URI with yours or your company’s URI.
- If you want you own custom screenshot, replace the current screenshot.png file with one of your own. This file needs to be 300 x 225 and in .png format.
- Upload the folder to your
wp-content/themesfolder. - Go to Appearance > Themes and activate your new child theme. Viola! You are ready to go.
Using Child Themes
Using child themes is quite simple. At a minimum, child themes for the inLine theme require a style.css file and a functions.php file to work. You can add custom CSS edits to the child theme’s style.css file to overwrite existing styles. You can also write custom functions in order to add, remove or replace other functions within the inLine theme.
You can also specify templates for your child theme to use. Any custom template used in your child theme will override parent templates.