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