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