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