WordPress.org

Ready to get started?Download WordPress

Forums

How to remove parent from child theme (2 posts)

  1. stevenr4
    Member
    Posted 6 months ago #

    I am somewhat new with wordpress. I just joined in with a wordpress project and they are currently using a child/parent theme, but they wanted to make their child theme stand on its own without a parent theme. We plan to make the site look similar to what it is right now, but use bootstrap instead to make the page responsive.

    I looked up the wordpress hierarchy, and I learned how to create a child theme, but I couldn't find anything on how to make a child theme stand on its own without a parent theme.

    (I understand this will take a lot of work, putting the styling, javascript, and templates together)

    I removed the 'Template' variable from the style.css, but the dashboard still complains that it couldn't find the parent theme.

    What do I need to do to make the child not look for the parent?
    And, are there any tips/snags that I should look out for when building this up?

    Thanks!

  2. vtxyzzy
    Member
    Posted 5 months ago #

    I think you would have better luck starting with the parent theme and making all the changes to it that were introduced by the child theme.

    That being said, I don't think I would recommend doing this in any case. It is usually a very good idea to keep the parent theme intact and use a child theme for all changes. If you do not, and at some point need to upgrade the parent theme, all your changes would be lost.

    You might think you would never want to upgrade the parent theme, but, for example, what if a security risk is discovered and an upgrade is necessary to prevent your site from being hacked?

Reply

You must log in to post.

About this Topic