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