• I’m trying to include my parents themes functions.php include into my child theme functions.php.

    I have a standard setup for a functions.php in my parent.

    This is what i have in my child themes functions.php

    <?php
        /**
         * Base functions and definitions.
         *
         * @link https://developer.www.ads-software.com/themes/basics/theme-functions/
         *
         * @package Base
         */
    
        locate_template( array( '/vendor/autoload.php', '/functions.php' ), true, false );

    the autoload.php file contains things like timber framework which works, it it doesn’t seem to bring in the parent functions.php

    This is a question from 5 years ago

    -> https://wordpress.stackexchange.com/questions/9989/how-to-load-parent-theme-functions-php-before-child-theme

    Can anyone help me out and/or has anything changed in the 5 years?

    Any help would be much appreciated.

    Thanks Jake.

  • The topic ‘Include Parent functions.php in Child Theme functions.php’ is closed to new replies.