Support » Themes and Templates » WordPress stopped detecting parent theme, but my files are present & correct.

  • toddhaney1

    (@toddhaney1maccom)


    I was just finishing up building my first WP site with my modified Enfold Theme purchased through Envato, when I returned from a break to open my file the parent theme was disconnected and WordPress now has stated in the Theme page of my dashboard:

    Broken Themes

    The following themes are installed but incomplete. Themes must have a stylesheet and a template.

    Name Description
    enfold Stylesheet is missing.

    What concerns me is that I hadn’t been into my files prior to this seemingly spontaneous change other than using the Advanced Layout Builder that comes with the theme.

    [ BTW – the support forum for enfold is closed for the holidays?? But was no more useful when open. Moderators would skim the question and reply, (I’m not sure I understand what you are trying to ask.) a day later. Anyone reading this can tell I don’t have a problem being succinct or compendious (beside this point, lol)]

    My child theme is there and has all my modifications saved, but WordPress automatically disconnects it and reverts to the default theme. I’ve made a new install of WP with new Theme install which works fine except that it doesn’t have my 50+ hours of design work on the original. I then replaced the old Child theme style.css and functions php on the broken file with the new files on my working fresh copy of WP with Theme but that didn’t fix it.
    I could use help with one of two options: 1) Obviously troubleshoot the problem file. or 2) Move my modifications over to the new working copy of WP&Theme. Hopefully this doesn’t require some familiarity with the Enfold Theme. I’d just like to know where my modifications would be stored of any safe and/or preferred method of moving them into the new install.

    Either way, I’ll need to find out what happened and why – and how to prevent it. I’m scheduled to be up and running tomorrow with a new client but I cannot pass him off something as spotty as what I have been experiencing.

    Here’s a link to dashboard:
    http://skybluepreviews.com/LDG/wp-admin/themes.php

    Link to Child Theme preview:
    http://skybluepreviews.com/LDG/wp-admin/customize.php?theme=enfold-child&return=%2FLDG%2Fwp-admin%2Fthemes.php

Viewing 15 replies - 1 through 15 (of 38 total)
  • None of your links will work because someone needs to be logged in to see them.

    Thread Starter toddhaney1

    (@toddhaney1maccom)

    Does that helpful advice come with a helpful solution?
    This is my first post, what is the preferred method of adding a link?

    Did you enqueue both parent and child styles in child theme functions.php?

    See: How to Create a Child Theme close to the bottom of the section.

    function theme_enqueue_styles() {
    
        $parent_style = 'parent-style';
    
        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
        wp_enqueue_style( 'child-style',
            get_stylesheet_directory_uri() . '/style.css',
            array( $parent_style )
        );
    }
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );

    Does that helpful advice come with a helpful solution?
    This is my first post, what is the preferred method of adding a link?

    Linking just to your site is sufficient or to a specific page which is showing a problem. Any error messages are helpful also.
    Screen shots, as long as they do not include vital info such as passwords, usernames, or other sensitive info are also helpful.
    There are guidelines here: Forum Welcome « WordPress Codex

    And never give access to anyone to your site, cPanel, etc.

    Thread Starter toddhaney1

    (@toddhaney1maccom)

    Yes, I enqueued the files that way (following the Codex) at the start, but it didn’t work because this Theme is set up to have a custom.css file in the parent for my modifications. The theme tutorial showed a blank functions.php file with only the
    <?php
    at the top. My files worked once I deleted the enqueue. My theme instructions have been less than complete, however, if the blank functions.php file may have been an erroneous temporary fix that may have caused my present issue…

    Thread Starter toddhaney1

    (@toddhaney1maccom)

    Ohhhh, logged in to WordPress. I thought you meant: if they weren’t logged into the forum…

    Problem is I can’t get to the page myself, because WP keeps deactivating.

    WordPress would not “automatically disconnect it and reverts to the default theme”, I would think that this comes from the parent theme. Some themes do not support child themes.

    If your theme is set up to have a custom.css file, does this not work for making modifications?

    If your parent theme will not acept mods, then did you try a Custom CSS plugin?

    Just trying to get a picture of what is occuring.

    This is an entirely different problem altogether. You cannot login to your site through here… http://skybluepreviews.com/LDG/wp-login.php

    First, you have a purchased Enfold theme and you are on MOJO Marketplace, so I really should direct you to Envato and MOJOMarketplace… but being as I see a couple of things right now, I’ll go on.

    The error said “enfold Stylesheet is missing”… this would mean that the style.css for the theme is not there. I could be renamed some how or not been uploaded when installed or… something else.

    Can you access through your host account your File Manager?

    Thread Starter toddhaney1

    (@toddhaney1maccom)

    Neo – are you by any chance still with me on this? Or are you just passing through with a word of advice?

    I’m just curious if there’s a simple way to move my custom edits over to the new working file. But would this be theme specific?
    I’m on a deadline for tomorrow and right now have nothing to show for even after working through Christmas eve and day.

    Anybody out there? If anyone reads this, I’m still unresolved – as the ticking clock is marching me toward tomorrow.

    Yup… still here. Just need coffee.

    Let’s see if we can get this up and running. First, I need to know what I’m working on…

    MOJOMarketplace, yes?
    Envato theme, yes?
    Child Theme you created, yes?
    Envato theme has custom css app, yes?

    Thread Starter toddhaney1

    (@toddhaney1maccom)

    Yes to all except Mojo – I just bought the theme, installed WP and started customizing.

    BTW – I didn’t get your last 3 posts until I went to my email and clicked on the link. Is that how it works? Gotta go click on the link to refresh..

    Back to the issue – my files are just as they were when it was working. Would it help to open my directory and pertinent filepaths and take a screenshot of it. For reference?

    You can stay on the thread and just refresh browser.
    I leave my phone on and have a Gmail app which beeps when I get mail. 🙂

    Where is theme installed? …on your computer or on a host?

    Thread Starter toddhaney1

    (@toddhaney1maccom)

    I have my own shared server with Bluehost and am more familiar with the directory that the dashboard…

Viewing 15 replies - 1 through 15 (of 38 total)
  • The topic ‘WordPress stopped detecting parent theme, but my files are present & correct.’ is closed to new replies.