4 replies
  • WEB DESIGN
  • |
What is a parent theme and what is a child theme?

The parent theme is Genesis.

What is a child theme and how does this work?

Thanks in advance
#question #theme
  • Profile picture of the author AppstronautMe
    A child theme is where you store a custom CSS file for the theme as well as any other theme file that you don't want changed during a theme update.

    Say if you edit the footer with your website's copyright info through Appearance ---> Editor. The problem with doing that is that you're unable to save that in a database. So if you do a theme update, the theme will replace that file and will delete any editing that you may have done.

    Hope this helps.
    {{ DiscussionBoard.errors[9748036].message }}
  • Profile picture of the author Michael Shook
    A child theme is where you make a copy of the original theme (the parent theme) and then modify theme settings and save the result as a new theme - called a child theme.

    Its a way to modify your theme without needing to go into the files of the original.
    Signature


    {{ DiscussionBoard.errors[9748041].message }}
  • Profile picture of the author Adelina A
    The parent theme acts as a base for the child. How it works is the parent theme contains the programming that creates the function and features of your site while the child theme contains the images and styles that form the base for your site’s layout and design.

    This parent/child framework protects the theme while allowing you to customize the theme.With the parent/child framework all customizations are stored in the child theme and anything in the child takes priority over the parent. So if the same file is in the child and in parent the file in the child theme will control that aspect of the theme.
    {{ DiscussionBoard.errors[9765240].message }}
  • Profile picture of the author Patil
    A parent theme is a stand alone theme which have no dependencies on other themes. A parent theme is fully functional on its own without the need for any other features from any other theme

    A child theme cannot function on its own without the parent theme. The child theme inherent the functionality of the parent theme. The child theme can change or add extra functionality or styling to the parent theme without changing the actual parent theme.
    {{ DiscussionBoard.errors[9769568].message }}

Trending Topics