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