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