• Resolved spanizhfly

    (@spanizhfly)


    Hi

    I have a child theme and i have been using almost 2 months and suddenly
    I saw a message

    Error: The theme directory “kadence-child” does not exist.

    refer the link below

Viewing 15 replies - 1 through 15 (of 16 total)
  • @spanizhfly Can you provide the link to the website in question?

    Thread Starter spanizhfly

    (@spanizhfly)

    you mean the link of the website?

    Yes. At the bottom of your original message I see “refer the link below”. If you can’t share a URL that’s fine, it just makes it a little more challenging for the Kadence folks to troubleshoot.

    Thread Starter spanizhfly

    (@spanizhfly)

    @mchildress Actually I wanted to share the link of the error image instead of the website. I have attached below is the error image

    https://ibb.co/ySrJhcL

    @spanizhfly Ok I understand. So the child theme has worked for the last two months and now it doesn’t. Prior to the child theme not working, did you apply updates to the Kadence parent theme? Can you provide the version numbers of the Kadence theme?

    Thread Starter spanizhfly

    (@spanizhfly)

    @mchildress yes, It was working few weeks back and all of suddenly it’s trying to switch to the default WP theme, I have removed the default theme for the moment. It is set as auto update as for themes. The current Kadence is Version: 1.0.23

    • This reply was modified 3 years, 6 months ago by spanizhfly.
    • This reply was modified 3 years, 6 months ago by spanizhfly.

    @spanizhfly Ok gotcha. On my test install I also have Kadence Theme 1.0.23 and have loaded the child theme from the child theme downloads (version 1) and then activated it with no issues. I’ve seen this kind of issue if the child theme or directory was renamed inadvertently. If you haven’t renamed it, you may want to check for console log errors to see what you can see.

    Thread Starter spanizhfly

    (@spanizhfly)

    Yes, I have renamed it from kadence_child to company_x
    on the folder and on the css
    Thats the only changes I have done.

    @spanizhfly I believe that is your problem. Change the name back just to see. If you do rename, use the same name for the Theme Name in the style.css file as well as the directory. For example, the directory for the default child theme is called kadence-child. If you look at its style.css file you will see the child theme name is Kadence Child. Let me know how it goes. If I remember correctly, you want to leave the setting for Text Domain: kadence-child in the style.css.

    • This reply was modified 3 years, 6 months ago by mchildress.
    Thread Starter spanizhfly

    (@spanizhfly)

    @mchildress below is the codes that i used for the child theme.
    as for the folder i named it as hron

    /*!
    Theme Name: Hron
    Template: kadence
    Author: Hron
    Description: A simple theme helping an electrical company
    Version: 1.0.0
    License: GNU General Public License v3.0 (or later)
    License URI: https://www.gnu.org/licenses/gpl-3.0.html
    Text Domain: hron
    */
    
    /* Theme customization starts here
    -------------------------------------------------------------- */
    

    @spanizhfly I think if you change the Text Domain back to kadence-child, it will reconnect the child theme. Text Domain: kadence-child. Everything else looks good.

    Thread Starter spanizhfly

    (@spanizhfly)

    @mchildress I changed the Text Domain: kadence-child. but it didn’t work. Then I changed the the theme folder name and it worked.
    This is my first time having issues with child theme and a unique scenario but resolved.

    Thank you so much @mchildress for your contribution

    @spanizhfly Sure thing. Good to hear you are back in business.

    Thread Starter spanizhfly

    (@spanizhfly)

    @mchildress Thank you so much but still curious about the issue because other themes with the same earlier setting worked well

    @spanizhfly – I understand the concern. I’m not affiliated with Kadence, just a user. It might prove useful if you posted a short summary about what your experience has been. The Kadence staff might be able to offer some further insight.

    When I went looking I came across the Kadence knowledge base post on child themes but it didn’t seem to address renaming of child themes. I also came across the official child theme documentation at WordPress.org which you might find helpful as well.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Error: The theme directory “kadence-child” does not exist.’ is closed to new replies.