Building child themes for the Theme 500 crowdfunding framework is very straight forward. Use the following steps to get started, and if you have any questions, use the forums to get in touch. We’ll be happy to help.
- WordPress 3.2+
- IgnitionDeck Crowdfunding (Basic, Premium, + Membership, or Enterprise)
- IgnitionDeck’s Minimum Requirements
- Theme 500 Framework
- Create a folder in your WordPress themes directory, using any name you like. In this case, we’ll call it ‘fh-child-theme.’
- Create a style.css file and save it in your new directory.
- (Optional) Import the Theme 500 stylesheet to include the base css package.
- Create a screenshot.png and place it in your new directory. This will display in the WordPress appearance admin.
- Add this to the top of your style.css file, above the import statements:
/* Theme Name: Your Child Theme Name
Theme URI: Your Child Theme URL
Description: Your Child Theme Description
Author: Your Name
Author URI: Your URL
- Visit the WordPress theme menu and activate your new theme.
Congratulations, you’ve created a Theme 500 child theme!
The Theme 500 crowdfunding framework uses the WordPress function get_template_part() to retrieve template files. For example, the get_template_part(‘project-featured’) function retrieves the template for the featured area in the Classic child theme.
To remove this portion, simply delete that line, or better yet, replace it with your own function.
To create your own version of the modified section, simply create a file called project-featured.php and save it in your child theme directory. Now, this will automatically overwrite the original template. Alternatively, you can rename the function and create a new file matching said name (e.g. get_template_part(‘my-template’) with a file named my-template.php).
If you wish to add functions to the Theme 500 framework, create your own functions.php and include those functions. These will automatically extend the framework functions.