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