ThimPressThimPress ThimPress
  • Themes
    • WordPress Theme
    • Shopify Theme
    • All Themes
  • Plugins
    • LearnPress
    • LearnPress Pro Bundle
    • LearnPress Semi-Pro Bundle
    • LearnPress Premium Add-ons
    • LearnPress Free Add-ons
    • LearnPress Mobile App
    • All Plugins
  • Blog
    • Best SEO Practice for Beginners
    • Internal link building tools
    • WordPress for Education
    • What are Sentiment Words
    • 20+ Free Shopify Themes
  • Coupons
  • Help Center
    • Support Forum
    • Ticket Center
    • Documentation
    • Knowledge Base
    • FAQs
    • Contact Us
  • Our Services
    • Customization
    • Maintainance
    • Hosting
    • Advertise
  • 0
  • Sign in
Back
  • Themes
    • WordPress Theme
    • Shopify Theme
    • All Themes
  • Plugins
    • LearnPress
    • LearnPress Pro Bundle
    • LearnPress Semi-Pro Bundle
    • LearnPress Premium Add-ons
    • LearnPress Free Add-ons
    • LearnPress Mobile App
    • All Plugins
  • Blog
    • Best SEO Practice for Beginners
    • Internal link building tools
    • WordPress for Education
    • What are Sentiment Words
    • 20+ Free Shopify Themes
  • Coupons
  • Help Center
    • Support Forum
    • Ticket Center
    • Documentation
    • Knowledge Base
    • FAQs
    • Contact Us
  • Our Services
    • Customization
    • Maintainance
    • Hosting
    • Advertise
  • Home
  • Knowledge Base

How To Create A Child Theme in SQUAREROOT

  • Share
  • Facebook

1.  Go to Squareroot file -> wp-content -> theme and create a new folder for your child theme. Naming it something like “squareroot-child” is common. Within your new theme folder, create two files called style.css and functions.php. 

Filling in the information of each file as below:

– In Style.css file:

/*
Theme Name: Squareroot Child
Template: squareroot
Author: DONG-IT
Version: 1.0.0
Updated: 2015-05-14 03:07:14
*/

The most important part of this file is the “Template” which must be the same name with your parent theme. The folder of our parent theme now is “squareroot”.

You can decide yourself to write other information as you want.

– In functions.php file:

<?php
if ( !defined( 'ABSPATH' ) ) exit; 
if ( !function_exists( 'thim_child_css' ) ):
    function thim_child_css() {
        wp_enqueue_style( 'thim_child', get_stylesheet_uri() ); 
    }
endif;
add_action( 'wp_enqueue_scripts', 'thim_child_css', 999 );
?>

3. Activating Your Child Theme by going to Appearances > Themes > Active  Squareroot- child theme.

Your child theme is now ready to use!

Take note that you may need to re-save your menu (Appearance > Menus ) and theme options (including background and header images) after activating the child theme.

 

 

Latest Articles

  • Best WordPress Development Agencies

    Best WordPress Development Agency Review: The Top 8 Agencies You Should Consider for Your Project

  • Best Multi Currency WordPress Plugins

    Why Use A Multi Currency WordPress Plugin to Boost Your Sales? Top 7 Picks

  • The Best Ways to SEO with Images

    10+ Best Ways to SEO with Images (Detail Guide)

  • WordPress White Screen of Death

    WordPress White Screen of Death: Clear Guide & Tips

  • Google Meet vs. Zoom Which is Better

    Google Meet vs. Zoom: Which Is Better for Your Business?

Categories

  • Blog
  • Tutorials & Updates
  • Marketing & SEO
  • WordPress Theme Collections
  • Glossary
thimpress logo

We are a company that is passionate about developing products to help you build your business online. Our very first priority is to guarantee our customers’ experience and satisfaction.

"ThimPress" is a brand of "PhysCode LLC".
Address: 14936 DILLOW ST, #V301, Westminster, CA 92683.
Email: [email protected]


COMPANY

  • Privacy Policy
  • Terms & Conditions
  • Refund Policy
  • Item Support Policy
  • Partner
  • Advertise

AFFILIATE

  • Become an Affiliate
  • Affiliate Terms & Policies

SUPPORT

  • Documentation
  • Forum
  • How to get help

PRODUCT

  • WordPress Plugins
  • WordPress Themes
  • Shopify Themes
  • Coupon

Our Network

  • Facebook
  • Twitter
  • Envato
  • Youtube
  • PhysCode
  • ArrowTheme

Special offer promotion

Up To 40% OFF
ThimPress Products
Sale ends September 30, 2023
Show me more
Designed by ThimPress. Powered by WordPress.
DMCA.com Protection Status
  • Terms & Conditions
  • Documentation

Sign In

Lost your password?

Not a member yet? Sign up now

Lost Password

Please enter your username or email address. You will receive a link to create a new password via email.

Are you a member? Sign in now