Energy WordPress Child Theme Download
Parent theme dependency
For the Energy Parent WordPress Theme by WPRollers visit the Demo page & Info page.
energy-child/style.css
/*
Theme Name: Energy Child
Template: energy
*/
energy-child/functions.php
<?php
add_action('wp_enqueue_scripts', 'wp_child_theme');
function wp_child_theme()
{
wp_enqueue_style('parent-stylesheet', './energy/style.css');
wp_enqueue_style('child-stylesheet', './energy-child/style.css');
wp_enqueue_script('child-scripts', './energy-child/js/view.js', array('jquery'), '6.1.1', true);
}
?>
energy-child/screenshot.png (1200px x 900px)
<img src="./screenshot.png" alt="energy child theme screenshot">
energy-child/js/view.js
Build information
functions.php |
style.css |
screenshot.png |
[dir] js/ |
» view.js |
Hash value: e5b1e7c95e6986d54eab3b44f39f7a6a ~4KB |
Folder Structure
Parent * | energy/ |
Child ** | energy-child/ |
* Required theme for this child theme to work ** This child theme (download) |
---|