Title: Child template assets
Last modified: February 21, 2019

---

# Child template assets

 *  [blockathon](https://wordpress.org/support/users/blockathon/)
 * (@blockathon)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/child-template-assets/)
 * Hi there,
 * I’m using a child theme to customize my parent theme.
 * Using TML’s default slugs and pages, but these pages are not loading my child
   theme’s functions.php file where I’m removing some of the parent theme’s js and
   css files and loading in some custom override files.
 * This is making the layout look bad and throwing javascript errors.
 * In my child theme functions.php I have
 *     ```
       add_action('wp_print_scripts', 'wra_remove_js', 100000);
       add_action('wp_print_footer_scripts',  'wra_remove_js', 100000);
       add_action('wp_print_styles', 'wra_remove_css', 100000);
       add_action('wp_print_footer_scripts', 'wra_remove_css', 100000);
       ```
   
 * This works everywhere else except tml pages
 * I tried to do it by placing a theme-my-login-custom.php file in plugins and adding
   some code there but that doesn’t work too, may be it’s too late?
 * Help…
    -  This topic was modified 7 years, 4 months ago by [blockathon](https://wordpress.org/support/users/blockathon/).
    -  This topic was modified 7 years, 4 months ago by [blockathon](https://wordpress.org/support/users/blockathon/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [blockathon](https://wordpress.org/support/users/blockathon/)
 * (@blockathon)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/child-template-assets/#post-11229845)
 * So I investigated this further and it appears that the child theme does load 
   and the CSS and JS files are removed from the child functions.php file, but in
   the footer of any TML pages the parent theme’s queued scripts and styles are 
   loaded throwing errors.
 * Any idea why this is happening?
 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/child-template-assets/#post-11233570)
 * Try updating to TML 7.0.13 and see if it fixes this issue.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Child template assets’ is closed to new replies.

 * ![](https://ps.w.org/theme-my-login/assets/icon-256x256.png?rev=1891232)
 * [Theme My Login](https://wordpress.org/plugins/theme-my-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-my-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-my-login/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-my-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-my-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-my-login/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/child-template-assets/#post-11233570)
 * Status: not resolved