This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* You don't need to add the opening php tag shown above. | |
//* Only copy and paste the below given code in functions.php file. | |
//* TN Dequeue Styles - Remove Google Fonts form Genesis Sample WordPress Theme | |
add_action( 'wp_print_styles', 'tn_dequeue_google_fonts_style' ); | |
function tn_dequeue_google_fonts_style() { | |
wp_dequeue_style( 'genesis-sample-fonts' ); | |
wp_deregister_style( 'genesis-sample-fonts' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* You don't need to add the opening php tag shown above. | |
//* Only copy and paste the below given code in functions.php file. | |
//* TN Dequeue Styles - Remove Dashicons from Genesis Theme | |
add_action( 'wp_print_styles', 'tn_dequeue_dashicons_style' ); | |
function tn_dequeue_dashicons_style() { | |
wp_dequeue_style( 'dashicons' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* You don't need to add the opening php tag shown above. | |
//* Only copy and paste the below given code in functions.php file. | |
//* TN Dequeue Styles - Remove Font Awesome from WordPress theme | |
add_action( 'wp_print_styles', 'tn_dequeue_font_awesome_style' ); | |
function tn_dequeue_font_awesome_style() { | |
wp_dequeue_style( 'fontawesome' ); | |
wp_deregister_style( 'fontawesome' ); |
NewerOlder