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