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