{"id":4592,"date":"2018-08-03T17:03:51","date_gmt":"2018-08-03T17:03:51","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2018\/08\/03\/how-to-create-a-boldgrid-child-theme\/"},"modified":"2021-08-16T22:26:55","modified_gmt":"2021-08-17T02:26:55","slug":"how-to-create-a-boldgrid-child-theme","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/","title":{"rendered":"How to Create a BoldGrid Child Theme"},"content":{"rendered":"<p>Are you ready to take your BoldGrid creativity to the level? In this article, we&#8217;re going to show you how you can create a <strong>child theme for a BoldGrid site<\/strong>.<\/p>\n<p>For our child theme, we&#8217;re going to customizing and extending the BoldGrid <a href=\"https:\/\/themes.boldgrid.com\/hydra\/\">Hydra<\/a> theme.<\/p>\n<h2 id=\"what-are-child-themes\">What Are Child Themes?<\/h2>\n<p>A child theme is like a customizable theme built under a parent theme. You take the original code and add anything you want.<\/p>\n<p>Meanwhile, when an update to the parent theme is released, it&#8217;s absorbed without affecting the extra work you&#8217;ve done. This is the power of the child theme.<\/p>\n<p>You can extend any WordPress theme using the parent\/child theme inheritance system. This makes WordPress virtual infinite as far as customization goes.<\/p>\n<h2 id=\"level-up-bg-themes\">Level Up Your BoldGrid Site<\/h2>\n<p>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.<\/p>\n<h2 id=\"requirements\">Starting with a Directory and Two Files<\/h2>\n<p>In order to get started, you will only require a directory named after your child theme and two files with the directory: <code>style.css<\/code> and <code>functions.php<\/code>.<\/p>\n<pre class=\"cli\">~\/wp-content\/themes\/parent-theme<\/pre>\n<pre class=\"cli\">~\/wp-content\/themes\/parent-theme-child<\/pre>\n<p>As seen above, you need the parent and child theme in the main theme directory.<\/p>\n<p>Insert this code into the <code>functions.php<\/code> file:<\/p>\n<div class=\"org-src-container\">\n<pre class=\"src src-php\"><span style=\"color: #483d8b;\">&lt;?php<\/span> <span style=\"color: #a020f0;\">function<\/span> <span style=\"color: #0000ff;\">boldgrid_enqueue_styles<\/span>() {     $<span style=\"color: #a0522d;\">parent_style<\/span> = <span style=\"color: #8b2252;\">'boldgrid-hydra'<\/span>;     <span style=\"color: #000000; background-color: #ffffff;\">wp_enqueue_style<\/span>( $<span style=\"color: #a0522d;\">parent_style<\/span>, <span style=\"color: #000000; background-color: #ffffff;\">get_template_directory_uri<\/span>() . <span style=\"color: #8b2252;\">'\/style.css'<\/span> );     <span style=\"color: #000000; background-color: #ffffff;\">wp_enqueue_style<\/span>( <span style=\"color: #8b2252;\">'child-style'<\/span>, <span style=\"color: #000000; background-color: #ffffff;\">get_stylesheet_directory_uri<\/span>() . <span style=\"color: #8b2252;\">'\/style.css'<\/span>, <span style=\"color: #a020f0;\">array<\/span>( $<span style=\"color: #a0522d;\">parent_style<\/span> ),     <span style=\"color: #000000; background-color: #ffffff;\">wp_get_theme<\/span>()-<span style=\"color: #008b8b;\">&gt;<\/span><span style=\"color: #000000; background-color: #ffffff;\">get<\/span>(<span style=\"color: #8b2252;\">'Version'<\/span>) ); } <span style=\"color: #000000; background-color: #ffffff;\">add_action<\/span>( <span style=\"color: #8b2252;\">'wp_enqueue_scripts'<\/span>,<span style=\"color: #8b2252;\">'boldgrid_enqueue_styles'<\/span> ); <span style=\"color: #483d8b;\">?&gt;<\/span><\/pre>\n<\/div>\n<p>And insert this code into the <code>style.css<\/code> file:<\/p>\n<div class=\"org-src-container\">\n<pre class=\"src src-css\"><span style=\"color: #b22222;\">\/*<\/span> <span style=\"color: #b22222;\"> Theme Name:   Hydra Child<\/span> <span style=\"color: #b22222;\"> Theme URI:    https:\/\/www.boldgrid.com<\/span> <span style=\"color: #b22222;\"> Description:  BoldGrid Hydra Child Theme<\/span> <span style=\"color: #b22222;\"> Author:       BoldGrid Support<\/span> <span style=\"color: #b22222;\"> Author URI:   https:\/\/www.boldgrid.com<\/span> <span style=\"color: #b22222;\"> Template:     boldgrid-hydra<\/span> <span style=\"color: #b22222;\"> Version:      1.0<\/span> <span style=\"color: #b22222;\"> License:      GNU General Public License v2 or later<\/span> <span style=\"color: #b22222;\"> License URI:  https:\/\/www.gnu.org\/licenses\/gpl-2.0.html<\/span> <span style=\"color: #b22222;\"> Tags:       <\/span> <span style=\"color: #b22222;\">*\/<\/span><\/pre>\n<\/div>\n<p>If you&#8217;d like to use a different theme, you can update the theme information in either of these files to use a different BoldGrid theme.<\/p>\n<h2 id=\"download-example-child-theme-hydra\">Downloading and Installing the Hydra Child Theme Example<\/h2>\n<p>BoldGrid has made it even easier to get going with a child theme starter kit. All you need to is download and install the <a href=\"https:\/\/github.com\/gitexamples\/boldgrid-hydra-child\/releases\/\">Hydra child theme example<\/a> from the BoldGrid Github Page and <a href=\"\/support\/edu\/wordpress\/themes\/changing-your-layout-finding-a-new-wordpress-theme\/\">install it<\/a> just as you would any other WordPress theme downloaded from the Internet as a compressed file.<\/p>\n<h2 id=\"create-your-own\">Create Your Own Page Templates and Styles<\/h2>\n<p>Now that you have a child theme, you can do the following easily:<\/p>\n<ul class=\"org-ul\">\n<li><a href=\"https:\/\/developer.wordpress.org\/themes\/template-files-section\/\">Create custom page templates the WordPress way<\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/themes\/advanced-topics\/ui-best-practices\/\">Create your own unique CSS styles and classes<\/a><\/li>\n<\/ul>\n<p>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&#8217;d be best advised to copy and page the original page templates from BoldGrid and change them as you see fit.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you ready to take your BoldGrid creativity to the level? In this article, we&#8217;re going to show you how you can create a child theme for a BoldGrid site. For our child theme, we&#8217;re going to customizing and extending the BoldGrid Hydra theme. What Are Child Themes? A child theme is like a customizable<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/\"> Read More ><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[525],"tags":[],"class_list":["post-4592","post","type-post","status-publish","format-standard","hentry","category-boldgrid"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Create a BoldGrid Child Theme | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Want to level up your BoldGrid site? You need to create your own child theme. This is the best way to customize your BoldGrid site.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a BoldGrid Child Theme | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Want to level up your BoldGrid site? You need to create your own child theme. This is the best way to customize your BoldGrid site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-03T17:03:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T02:26:55+00:00\" \/>\n<meta name=\"author\" content=\"Christopher Maiorana\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christopher Maiorana\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/\"},\"author\":{\"name\":\"Christopher Maiorana\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\"},\"headline\":\"How to Create a BoldGrid Child Theme\",\"datePublished\":\"2018-08-03T17:03:51+00:00\",\"dateModified\":\"2021-08-17T02:26:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/\"},\"wordCount\":416,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"BoldGrid\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/\",\"name\":\"How to Create a BoldGrid Child Theme | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2018-08-03T17:03:51+00:00\",\"dateModified\":\"2021-08-17T02:26:55+00:00\",\"description\":\"Want to level up your BoldGrid site? You need to create your own child theme. This is the best way to customize your BoldGrid site.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create a BoldGrid Child Theme\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\",\"name\":\"Christopher Maiorana\",\"description\":\"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.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create a BoldGrid Child Theme | InMotion Hosting","description":"Want to level up your BoldGrid site? You need to create your own child theme. This is the best way to customize your BoldGrid site.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/","og_locale":"en_US","og_type":"article","og_title":"How to Create a BoldGrid Child Theme | InMotion Hosting","og_description":"Want to level up your BoldGrid site? You need to create your own child theme. This is the best way to customize your BoldGrid site.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2018-08-03T17:03:51+00:00","article_modified_time":"2021-08-17T02:26:55+00:00","author":"Christopher Maiorana","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Christopher Maiorana","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/"},"author":{"name":"Christopher Maiorana","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f"},"headline":"How to Create a BoldGrid Child Theme","datePublished":"2018-08-03T17:03:51+00:00","dateModified":"2021-08-17T02:26:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/"},"wordCount":416,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["BoldGrid"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/","name":"How to Create a BoldGrid Child Theme | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2018-08-03T17:03:51+00:00","dateModified":"2021-08-17T02:26:55+00:00","description":"Want to level up your BoldGrid site? You need to create your own child theme. This is the best way to customize your BoldGrid site.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/boldgrid\/how-to-create-a-boldgrid-child-theme\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Create a BoldGrid Child Theme"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f","name":"Christopher Maiorana","description":"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.","sameAs":["https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=4592"}],"version-history":[{"count":2,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4592\/revisions"}],"predecessor-version":[{"id":83656,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4592\/revisions\/83656"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=4592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=4592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=4592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}