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