WordPress.org

Forums

Child theme structure question (2 posts)

  1. matthisco
    Member
    Posted 2 years ago #

    Hello,

    I need to change html in the header of my theme. The header is generated by a number of hooks. I can only find the html in functions.php. How do I change functions.php, and how do I do that to make it futureproof and safe from any updates overwriting changes?

    Any advice uch appreciated,.

    Thankyou

  2. mar1965
    Member
    Posted 2 years ago #

    Hi,

    If you add a functions.php file to your child theme, that ensures that it won't get overwritten when future updates are made. Check out this article if you haven't already seen it: Using Functions.php.

Topic Closed

This topic has been closed to new replies.

About this Topic