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