• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Correctly coding the define and widget areas

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Correctly coding the define and widget areas

This topic is: not resolved

Tagged: child theme, style.css header

  • This topic has 1 reply, 2 voices, and was last updated 9 years, 9 months ago by Brad Dalton.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 20, 2016 at 10:17 am #185977
    Bobcatou
    Member

    I'm using the Sample theme to create my last few sites. When I do, I change the theme folder and stylesheet heading to the client's business name. (see below) and add their logo with the theme.

    /* # Genesis Sample Child Theme
    Theme Name: World House Choir
    Theme URI: http://my.studiopress.com/themes/genesis/
    Description: This is the sample theme created for the Genesis Framework.
    Author: StudioPress
    Author URI: http://www.studiopress.com/
    Template: genesis
    Template Version: 2.2.0
    License: GPL-2.0+
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    */

    I noticed this code at the top of the functions.php file

    // Child theme (do not remove)
    define( 'CHILD_THEME_NAME', 'Genesis Sample Theme' );
    define( 'CHILD_THEME_URL', 'http://www.studiopress.com/' );
    define( 'CHILD_THEME_VERSION', '2.2.0' );

    Do I need change the name for `define( 'CHILD_THEME_NAME', 'Genesis Sample Theme' ); to World House Choir if I changed that in the style sheet?

    I've done created sites without doing any fo this and everything appears to be fine. I wasn't sure if I was bad coding or not.

    Thanks
    Bryan
    `

    May 21, 2016 at 12:40 am #186002
    Brad Dalton
    Participant

    I think you should keep the PHP code for the Child Theme in the functions file and not edit or remove it.

    You can modify the header in the style.css file.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble