Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 95794

Alexander Goncharov on "flounder-fonts"

$
0
0

I do feel like making topic for this another issue. =)

I don't want to enqueue this google font you are using, mostly because I use typekit and their awesome collection of fonts.

In your functions.php you suggest to use this snippet:

function mytheme_dequeue_fonts() {
    wp_dequeue_style( 'flounder-fonts' );
}
add_action( 'wp_enqueue_scripts', 'mytheme_dequeue_fonts', 11 );

but how will this work if child theme's functions.php actually loads before the parent theme, so it simple can't dequeue style, that's not enqueued yet =)

Thanks in advance


Viewing all articles
Browse latest Browse all 95794

Trending Articles