Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #315882

    Hi Enfold

    Just doing some child theme development. With some files you have to copy the parent file to the child folder and then do your changes. It in effect over writes the parent file.

    But with other files such as functions.php you just add your custom functions to a new blank file and it appends them to the parents functions which is very useful.

    My question is regarding header.php I need to add 1 line, a function call. Do I download the parent theme header.php locally, make the modificaiton then re upload it to my child theme folder? Does it replace or append the parent file?

    #316062

    Hey!

    Yes, if you put a header.php file in the child directory it will override the parent one.

    Best regards,
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.