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