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…
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Child template assets’ is closed to new replies.