• 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

Trying to rename child theme folder – breaking site (Magazine Pro)

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 › Design Tips and Tricks › Trying to rename child theme folder – breaking site (Magazine Pro)

This topic is: not resolved

Tagged: child theme, conditional tags, functions.php, genesis, Magazine Pro, widgets

  • This topic has 3 replies, 3 voices, and was last updated 8 years, 10 months ago by ilkweb.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 13, 2014 at 2:42 pm #94754
    ilkweb
    Member

    Here's my challenge:

    I have created a site using "Instant WordPress", an Apache environment.

    Using "Magazine Pro" I have created a site and renamed the child theme to something unique. It all works fine and I have even added some widgets using Genesis hooks and conditional tags.

    I decided I wanted to create another site based on the template I created.

    I copied the entire installation (I mean the IWP server folders - everything).

    When I open this new installation, I am able to work on the site, change the site name etc, but because the local server URL is http://127.0.0.1:4001/ it is causing trouble. The theme folder name is identical to the original site, so the absolute URLs *seem* to be getting confused.

    The best way around this is to reboot the PC entirely and then open up the installation you want, but still it is referencing the old site because of the local server URL.

    To get around this I am trying to change the theme folder name of the second site, which is technically identical to the original. The only difference is the content of the site.

    I have tried renaming the theme folder (and I do know how to do this for a new installation) but for some reason renaming the theme folder is totally destroying my custom function.php file. In theory I should just be able to rename the theme folder then go into my WP installation and replace all references to the theme in any absolute URLs. This is really taxing my brain!

    I have tried deactivating the theme, renaming the theme folder, making a few change in style.css. making a few changes in functions.php etc

    In preview mode all looks good.

    Once activated, the widgets totally break. The Header Right widget ends up half way down the page!

    I'm convinced the IWP local URL needs to be unique for every and all IWP installations. It is not a good idea to have two identical installations on the same machine.

    But this could be a specific genesis issue.

    I need to know if the name of a theme folder is hard coded anywhere else within the installation of a Genesis child theme? I have a feeling my original theme folder name is still present somewhere within my installation and when I try to rename the theme folder it is breaking my site.

    Can you help me please?

    Darren

    March 14, 2014 at 5:39 am #94839
    Brad Dalton
    Participant

    Try ServerPress.


    Get Help – Book Consultation.

    March 14, 2014 at 5:53 am #94843
    Andrea Rennick
    Member

    It's not a Genesis issue. The theme folder name is not saved in any files because that would be a bad practise.

    Make sure your theme folder name has no capital letters and no spaces. WordPress got stricter about that, which would break the site in the way you are describing.


    **forum signature**
    If you need technical support for your theme please file a ticket.

    The forums are community based. Staff only monitors the forum for issues relating to the forum itself and to redirect users to where they need to go.

    March 14, 2014 at 10:17 am #94870
    ilkweb
    Member

    The theme name is hyphenated and lower case

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ 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

© 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