Title: Child Theme and nested files
Last modified: August 24, 2016

---

# Child Theme and nested files

 *  [wyclef](https://wordpress.org/support/users/wyclef/)
 * (@wyclef)
 * [11 years ago](https://wordpress.org/support/topic/child-theme-and-nested-files/)
 * Making a child theme… having trouble working with some files from parent theme
   that are in includes/files.php. All of the other main child theme files like 
   styles, functions, header, footer seem to work fine. What am I missing.
 * The code that calls the file is in parents function:
 *     ```
       /**
        * Include the framework and template tags
        */
       $tempdir = get_template_directory();
   
       // Include framwork bits
       require_once $tempdir .'/framework/init.php';
       require_once $tempdir .'/includes/init.php';
   
       // Custom template tags for theme
       require $tempdir . '/includes/template-tags.php';
       ```
   
 * Looking to edit template-tags.php and theme-customize.php which is called in 
   init.php.

The topic ‘Child Theme and nested files’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [wyclef](https://wordpress.org/support/users/wyclef/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/child-theme-and-nested-files/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
