• Hi, my site is here – https://www.jsdonnelly.com and I’m using the latest version of everything.

    I’ve got a child theme all set up and I’ve committed the cardinal sin of making some adjustments to the parent theme (twentysixteen)’s PHP – basically adding a slider to the header.php and a css class to the single.php.

    Could someone please tell me how to include these changes in the child theme so that they will be safe from any future updates? It’s got something to do with a functions.php in my child theme folder?

    Many thanks in advance.

Viewing 1 replies (of 1 total)
  • You will need to transfer a copy of the amended header.php template file from the (edited) 2016 theme to your child theme. Also copy any CSS changes/additions to your child theme’s style.css file.

    Finally – and once all changes have been transferred to the child theme – upload a fresh copy of 2016.

Viewing 1 replies (of 1 total)
  • The topic ‘How to make changes to Parent theme's php with a child theme?’ is closed to new replies.