Child Themes
Reference files from child theme (1 post)

  1. richlondon
    Posted 2 years ago #


    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.
    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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Child Themes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic