Spartan WordPress Child Theme Download

Download

Read our risk warning before downloading & installing

Parent theme dependency

For the Spartan Parent WordPress Theme by BonfireThemes Demo page & Info page .

spartan-child/style.css

/*
Theme Name: Spartan Child
Author: ChildThemeWP.com
Author URI: https://childthemewp.com/spartan/
Description: Spartan WordPress child theme.
Template: spartan
Text Domain: spartan-child
*/

spartan-child/functions.php

<?php
add_action( 'wp_enqueue_scripts', 'enqueue_spartan_child' );
function enqueue_spartan_child()
{
      wp_enqueue_style('spartan-css', './spartan/style.css' );
      wp_enqueue_style('spartan-child-css', './spartan-child/style.css');
      wp_enqueue_script('spartan-child-js', './spartan-child/js/script.js', array( 'jquery' ), '1.0', true );
}
?>

spartan-child/screenshot.png (1200px x 900px)

<img src="./screenshot.png" alt="spartan child theme screenshot">

spartan-child/js/script.js

/* spartan Javascript */

Build information

  Ben built spartan-child/ ID: #15244Dec 14
functions.php
style.css
screenshot.png
[dir] js/
      » script.js
Hash: 4c9be8ab4cdca31f373f02e5bc9d815a ~4KB

Folder Structure

Parent *spartan/
Child **spartan-child/
* Required theme for this child theme to work
** This child theme (download)