Skip to content

Instantly share code, notes, and snippets.

@Dan0sz Dan0sz/functions.php
Last active Apr 30, 2019

Embed
What would you like to do?
Remove Google Fonts from Sparkling WordPress Theme using a Child Theme
<?php
// The start of my Child Theme's functions.php
function sparkling_remove_google_fonts() {
wp_dequeue_style('sparkling-fonts');
wp_deregister_style('sparkling-fonts');
}
add_action('wp_enqueue_scripts', 'sparkling_remove_google_fonts', 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.