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