X Child Theme Download

Download the X Child Theme for X v parent WordPress Theme - THEMECO.

WP Child Theme Code Snippets

x-child/style.css

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

x-child/functions.php

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

x-child/screenshot.png

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

x-child/js/script.js

/* Javascript */

Build Information

benny build on x-child/ Dec 14
functions.php
style.css
screenshot.png
[dir] js/
      » script.js
Hash: 9dd4e461268c8034f5c8564e155c67a6

Folder Structure

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