Created
June 15, 2020 16:32
-
-
Save farookibrahim/f1165f65628e47acc8a9e166384b23db to your computer and use it in GitHub Desktop.
Cartzilla - How to Load Custom Fonts/Icons using Child theme?
This file contains hidden or 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
| if( ! function_exists( 'cartzilla_child_scripts' ) ) { | |
| function cartzilla_child_scripts() { | |
| wp_enqueue_style( 'cartzilla-custom-fonts', get_stylesheet_directory_uri() . '/cartzilla-custom-fonts.css' ); | |
| } | |
| } | |
| add_action( 'wp_enqueue_scripts', 'cartzilla_child_scripts', 100 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment