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