• 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

Use Genesis core as child theme

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 › Use Genesis core as child theme

This topic is: resolved
  • This topic has 5 replies, 4 voices, and was last updated 9 years, 7 months ago by P1SMH.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 20, 2013 at 4:06 pm #57770
    P1SMH
    Member

    I would like to start a child theme from scratch using the Genesis core. I have created a folder with a stylesheet, and WordPress recognizes the theme, and I am able to activate it. I imported the core stylesheet, so all the CSS is correct, but the structure is not right because some of the class names are not being used on the child theme as they were on the core theme (for example on the core theme it gives the header div a class of "site-header" and on the child theme it doesn't). Is there something I am missing? Does a functions file need to be added to the child theme folder?

    August 20, 2013 at 4:22 pm #57777
    photastic
    Member

    http://my.studiopress.com/docs/child-themes/ 😉 second paragraph and beyond 🙂

    perhaps a good idea to download and activate the Genesis Sample theme?


    Trying to craft webstuff at Photastic Webdesign
    Learning Genesis by solving unanswered topics

    August 20, 2013 at 4:41 pm #57789
    P1SMH
    Member

    Thank you for the response. I have worked with 100s of child themes and I know how they work, but I downloaded the sample theme and it doesn't look like the one online (at http://www.genesisframework.com/). Again, some classes are not being applied to divs (like the header div). My core theme puts a class of "site-header" on the header div, and on the child themes, it does not. So if you have a stylesheet with site-header as a class it won't recognize it.

    August 20, 2013 at 7:59 pm #57825
    markmelch
    Member

    I'm new to Genesis, so I may be way off, but I believe you would need to add some functions to the core functions.php e.g.:

    //* Add HTML5 markup structure
    add_theme_support( 'html5' );

    August 20, 2013 at 9:17 pm #57836
    Bill Murray
    Member

    @P1SMH - The child themes DO put a class of site-header on the header div under HTML5.

    Assuming you are using Genesis 2.0 and assuming your child theme has the line that @markelch correctly quoted, your child theme should include that markup. If it's not doing that, first check how you enabled HTML5 support in your child theme. If it's not as markmelch quoted, it's wrong. You'll also want to make sure your sample child theme is current as of release, since there were some changes made just prior to release that would impact this.


    Web: https://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

    August 21, 2013 at 8:45 am #57915
    P1SMH
    Member

    @markmelch and @Bill-Murray - Thank you. Adding the HTML5 theme support to the functions.php file did the trick.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Use Genesis core as child theme’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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