Dequeue google fonts
-
Greetings-
In order to remove google fonts, I add following codes to the child theme:function doctorial_child_scripts() {
wp_dequeue_style( ‘doctorial-google-fonts’ );
}
add_action( ‘wp_enqueue_scripts’, ‘doctorial_child_scripts’ );I cannot make it work. Please help.
Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Dequeue google fonts’ is closed to new replies.