• Hi,

    I am trying to customize in function.php in Customizr Child’s Theme but there isn’t one. Can someone tell me how to add function.php to Customizr Child’s Theme? Any help would be greatly appreciated! This is my first website and I am a bit lost.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 1. Open a new text file with notepad or notepad++.
    2. Write

    <?php

    in it
    3. Save it as functions.php, in your child theme folder root, with an UTF-8 encoding.

    Now you have a working functions.php.
    You may add php functions starting from second line and they will get executed by WordPress every time your theme gets loaded (that’s on every single page of your website, including admin).

    I suggest you take a look at the Guides you’ll find here.

    Look in the left sidebar for a list of useful documents that will help you understand more.

    Thread Starter lhwerges

    (@lhwerges)

    @acub,

    Thank you. Where would the child theme folder root be? Sorry, I am a complete newbie. I found the notepad++ but don’t know where I would save this to.

    @rdellconsulting, thank you for this. I appreciate it!

    “Child theme folder root” means inside the child theme folder, but not in any sub-folder of it (in case you have any). Where style.css of your child theme is.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding function.php to Child's Theme’ is closed to new replies.