Support » Fixing WordPress » How to add php functions file

  • scott1978



    I know this has been asked before but I’m still scratching my head.

    I need alter some PHP (I need to move the nav bar to underneath the header on TwentyTwelve).

    I have created a child css file and edit this file frequently.

    The question is: How do I add and PHP child theme? I have been searching for a long time but cannot find the answer.

    Please can someone give me very simple step by step instructions on how to do this.

    Many thanks,


Viewing 3 replies - 1 through 3 (of 3 total)
  • michael.mariart


    I’m guessing that you already have a child theme set up in order to get your CSS working correctly. If that’s the case, you just create a new functions.php file in your child theme folder and it will be included automatically by the system when it loads.



    Hi Michael,

    Thanks for your quick response.

    DO I need to add text at the start if the file. For example the css file has the:

    @import url(“../twentytwelve/style.css”);

    Many thanks,


    Christine Rondeau


    Volunteer Forum Moderator

    You don’t need to add the @import, but working with the functions.php in your child is a bit tricky.

    Here’s some good info to get you started –

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add php functions file’ is closed to new replies.