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