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