• 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

Problems Renaming Genesis Sample 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 › Problems Renaming Genesis Sample Theme

This topic is: not resolved

Tagged: genesis sample theme

  • This topic has 1 reply, 2 voices, and was last updated 8 years, 2 months ago by Victor Font.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • May 16, 2017 at 2:10 am #206511
    nihaokitty
    Member

    I have downloaded the latest version of both the Genesis Framework and the Genesis Sample theme. Now, I want to give both the directory and the theme a custom name.

    I've changed the name in the style.css according to the instructions on various websites and seems to work fine.

    As soon as I change the directory name from "genesis-sample" to "custom-name", the style gets damaged. Change the directory name back and everything looks fine.

    I feel like I am missing a place in the new child theme that identifies the theme directory.

    Any help would be appreciated.

    May 16, 2017 at 6:28 am #206532
    Victor Font
    Moderator

    There is no place in the style.css header to change the directory:

    /*
    	Theme Name: Genesis Sample
    	Theme URI: http://www.studiopress.com/
    	Description: This is the sample theme created for the Genesis Framework.
    	Author: StudioPress
    	Author URI: http://www.studiopress.com/
    
    	Version: 2.2.4
    
    	Tags: black, red, white, one-column, two-columns, three-columns, left-sidebar, right-sidebar, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
    
    	Template: genesis
    	Template Version: 2.2.4
    
    	License: GPL-2.0+
    	License URI: http://www.gnu.org/licenses/gpl-2.0.html
    */

    All you should have to do is rename the directory before you activate the child theme. Functions.php uses the WordPress get_stylesheet_directory() function to pick up the active theme's directory. There's no place to change anything.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

  • 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

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