John Child Theme Download

Download the John Child Theme for John v parent WordPress Theme - CodePassenger.

WP Child Theme Code Snippets

john-child/style.css

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

john-child/functions.php

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

john-child/screenshot.png

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

john-child/js/script.js

/* Javascript */

Build Information

benny build on john-child/ Dec 14
functions.php
style.css
screenshot.png
[dir] js/
      » script.js
Hash: 527bd5b5d689e2c32ae974c6229ff785

Folder Structure

Parent * john/
Child ** john-child/
* Required theme for this child theme to work | ** This child theme