Viewing 5 replies - 1 through 5 (of 5 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Copy header.php from the 2011 theme and just paste it into your Child Theme directory.

    Generally, if you are wanting to make changes to the header.php file, make a copy of the existing header.php file, put the copy in the child theme and make changes there (or you can make the changes on your local computer using a text editor and then upload the revised file to your child theme.

    Thread Starter minimematernity

    (@minimematernity)

    I get the copy paste part, but where do I paste? Directly into the 2011child stylesheet? I am having trouble figuring out how to save it into the new theme?

    Thread Starter minimematernity

    (@minimematernity)

    nevermind. i had no idea what I was doing and was trying to do it from the dashboard. just went into my ftp manager and figured it out. thanks!

    make a copy of the existing header.php file

    A totally NEW file using a text editor. Only CSS goes in a stylesheet.

    http://codex.wordpress.org/Child_Themes#Template_files

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘adding php to a child theme’ is closed to new replies.