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