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