• 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, 3 months ago by blockathon.
    • This topic was modified 7 years, 3 months ago by blockathon.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter blockathon

    (@blockathon)

    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

    (@jfarthing84)

    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.