WordPress.org

Support

Support » Plugins and Hacks » Child Themes » Reference files from child theme

Reference files from child theme

  • Hi,

    I have created a child theme for a bootstrap style theme.

    In the functions.php file there are a few lines that point to files that reside within folders in the parent theme folder structure.
    eg;
    require_once( get_template_directory() .'/functions/google-fonts.php' );

    Now rather than having to copy all the required files, I just want to create a function file in my child theme that loads the files that the theme needs.

    I have discovered I need to to do this as the fonts aren’t loading.

    Can some one give me some guidance on how I can get the files to load.

    Many thanks

    http://wordpress.org/plugins/child-themes/

  • The topic ‘Reference files from child theme’ is closed to new replies.
Skip to toolbar