WordPress.org

Ready to get started?Download WordPress

Forums

Child Themes
Reference files from child theme (1 post)

  1. richlondon
    Member
    Posted 11 months ago #

    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/

Reply

You must log in to post.

About this Plugin

About this Topic