Home Forums WoodMart support forum child theme

child theme

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #402170

    cesaicumpar
    Participant

    Hello! I noticed that in Appearance -> Theme File Editor, if the child theme is selected, there are far less files than if the original theme is selected.

    Is this correct? If I wanted to change something in the theme and used the files from the original theme, will it be shown if I use the child theme?

    #402255

    Hello,

    The child theme consists of less files as compared to the parent theme. If you want to edit any file then you need to copy that file from the parent theme and modify it in the child theme.

    Best Regards

    #402369

    cesaicumpar
    Participant

    How do I copy a file to the child theme?

    #402462
    #402945

    cesaicumpar
    Participant

    I have read it but I’m not sure how that answers my question. I don’t see other files other than functions.php mentioned, which I already had in the child theme. How do I edit the header.php file, which is available in the original theme and not available in the child theme? How do I copy it to the child theme?

    #403159

    Hello,

    By default the child theme doesn’t have the files of the main theme. You can copy the files you need to the child theme to modify them as you require.

    To copy the files you can use the file manager plugin.
    https://wordpress.org/plugins/wp-file-manager/

    Best Regards

    #403217

    cesaicumpar
    Participant

    I understand. What happens if I update the file (add some code for example) in the original theme, without uploading it to the child theme? I see that the code applies to the website, even if I use the child theme and I don’t upload the file in the child theme.

    #403742

    Hello,

    If you apply the code to the main theme then it will be lost after you update the theme.

    That’s why the child theme is Recommended.

    Best Regards

Viewing 8 posts - 1 through 8 (of 8 total)