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