Created
April 2, 2018 10:56
-
-
Save thecodepoetry/ff5952722ae533b77cbb32bf30c5fdcc to your computer and use it in GitHub Desktop.
Custom made fontello icons from child theme
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
function custom_fontello_child() { | |
wp_dequeue_style( 'dt-fontello'); | |
wp_register_style('dt-fontello-child', get_stylesheet_directory_uri() . '/fonts/fontello/css/fontello.css'); | |
wp_enqueue_style('dt-fontello-child'); | |
} | |
add_action( 'wp_print_styles', 'custom_fontello_child' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pleae try this code in your child theme functions.php, make sure to add custom made fontello.com Icon Font through FTP to “wp-content/themes/dt-the7-child/fonts/fontello” folder