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