Skip to content

Instantly share code, notes, and snippets.

@thecodepoetry
Created April 2, 2018 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thecodepoetry/ff5952722ae533b77cbb32bf30c5fdcc to your computer and use it in GitHub Desktop.
Save thecodepoetry/ff5952722ae533b77cbb32bf30c5fdcc to your computer and use it in GitHub Desktop.
Custom made fontello icons from child theme
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' );
@thecodepoetry
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment