How to Create a BoldGrid Child Theme

Are you ready to take your BoldGrid creativity to the level? In this article, we’re going to show you how you can create a child theme for a BoldGrid site.

For our child theme, we’re going to customizing and extending the BoldGrid Hydra theme.

What Are Child Themes?

A child theme is like a customizable theme built under a parent theme. You take the original code and add anything you want.

Meanwhile, when an update to the parent theme is released, it’s absorbed without affecting the extra work you’ve done. This is the power of the child theme.

You can extend any WordPress theme using the parent/child theme inheritance system. This makes WordPress virtual infinite as far as customization goes.

Level Up Your BoldGrid Site

Why not level up? With WordPress, you have the power to do virtually anything. Creating a child theme helps you learn valuable skills with HTML, CSS, JavaScript, and PHP. These are the foundational languages that WordPress is built on, and you can use them to build any site you can imagine.

Starting with a Directory and Two Files

In order to get started, you will only require a directory named after your child theme and two files with the directory: style.css and functions.php.


As seen above, you need the parent and child theme in the main theme directory.

Insert this code into the functions.php file:

<?php function boldgrid_enqueue_styles() {     $parent_style = 'boldgrid-hydra';     wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );     wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ),     wp_get_theme()->get('Version') ); } add_action( 'wp_enqueue_scripts','boldgrid_enqueue_styles' ); ?>

And insert this code into the style.css file:

/*  Theme Name:   Hydra Child  Theme URI:  Description:  BoldGrid Hydra Child Theme  Author:       BoldGrid Support  Author URI:  Template:     boldgrid-hydra  Version:      1.0  License:      GNU General Public License v2 or later  License URI:  Tags:        */

If you’d like to use a different theme, you can update the theme information in either of these files to use a different BoldGrid theme.

Downloading and Installing the Hydra Child Theme Example

BoldGrid has made it even easier to get going with a child theme starter kit. All you need to is download and install the Hydra child theme example from the BoldGrid Github Page and install it just as you would any other WordPress theme downloaded from the Internet as a compressed file.

Create Your Own Page Templates and Styles

Now that you have a child theme, you can do the following easily:

With page templates, you can create your own custom pages, no longer limited to the page layouts BoldGrid provides by default. And while creating, your own page, you’d be best advised to copy and page the original page templates from BoldGrid and change them as you see fit.

Christopher Maiorana Content Writer II

Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.

More Articles by Christopher

0 thoughts on “How to Create a BoldGrid Child Theme

    1. The directory would be something similar to the following:


      That directory would contain the two files:


      I have updated this guide to correct the misspelling in the file name. Our apologies, thanks for bringing this to our attention!

Was this article helpful? Join the conversation!

Web Hosting Cyber Week Sale
Hurry! These Deals Won't Last Long