WordPress.org

Ready to get started?Download WordPress

Forums

Is there a point to having a child theme? (6 posts)

  1. SBonse
    Member
    Posted 3 years ago #

    I'm a little confused. For this website:

    http://www.madamesarah.com

    I had a child theme for the Twenty Eleven theme. When I updated the parent theme to 1.2 my child theme was completely removed. Am I making a mistake here or is this actually what is supposed to happen every time and if so, what is the point in creating a child theme?

  2. eridout
    Member
    Posted 3 years ago #

    For your upgraded theme to have removed your child theme, your child theme would have had to have had the same name as the theme itself. True, no point to that. The point of the child theme is that it contains your own customizations of the main theme which do not get destroyed when the main theme is updated. Generally nothing can overwrite or remove your child theme without knowing its name -- which only you need to know.

  3. SBonse
    Member
    Posted 3 years ago #

    What I currently have is:

    themes
    -twentyeleven
    -twentyeleve-child
    (style.css)

    Just as the instructions here: http://codex.wordpress.org/Child_Themes
    outline.
    The strange thing to me is that while my themes dashboard shows that my child theme is no longer listed even though I see the files still there in my file manager. After deleting and re-uploading the CSS files, the child theme shows up.

    [insert boggled facial expression]

    Weird caching problem or Child theme problem or am I just insane? (don't answer that last part)

  4. Probably a caching issue or a corrupt file issue.

    Or kobolds.

    (Child themes are great because you don't lose your customizations - If it's just CSS this isn't as bad as if you edit the single.php page to add in a sidebar.

  5. govpatel
    Member
    Posted 3 years ago #

    twentyeleven
    -twentyeleve-child
    (style.css)

    Do you have child theme css file inside twentyeleven-child theme folder as that is where it should be

  6. SBonse
    Member
    Posted 3 years ago #

    Yes, that's why I listed it underneath the twentyeleven-child folder.

Topic Closed

This topic has been closed to new replies.

About this Topic