Child theme does not take modifications

Hi there guys :slight_smile:

I’m trying to optimize x theme avoiding to load some scripts including some actions on x-child.

Unfortunately this has been impossible. X-child does not seem to take this codes in count.

The code is taken when I paste it directly on my main X functions.php

I’d want to delete emojis code from wordpress to load so I tried to add this code (and another code)

// REMOVE WP EMOJI
remove_action(‘wp_head’, ‘print_emoji_detection_script’, 7);
remove_action(‘wp_print_styles’, ‘print_emoji_styles’);

remove_action( ‘admin_print_scripts’, ‘print_emoji_detection_script’ );
remove_action( ‘admin_print_styles’, ‘print_emoji_styles’ );

I have no idea why this is not working …

Any idea would be more than welcome to solve this .

Many thanks

Hi @vlad,

Thanks for writing in.

In this case, to easily find the problem please share us your admin credentials and FTP. Don’t forget to set it in a secure note.

Please check also if you have followed all the instruction on how to setup child theme.

Let us know how it goes.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.