Last active
July 4, 2018 02:37
-
-
Save rali14/843af554b2357e96c56f to your computer and use it in GitHub Desktop.
Add custom fonts to Jobify
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
/** | |
* Plugin Name: Jobify - Disable Default Google Fonts and Enqueue Custom | |
*/ | |
function custom_jobify_fonts() { | |
wp_dequeue_style( 'jobify_fonts' ); | |
wp_enqueue_style( 'jobify-custom-fonts', 'http://fonts.googleapis.com/css?family=Open+Sans:400,600' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'custom_jobify_fonts', 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment