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