Answer the question
In order to leave comments, you need to log in
How to properly connect Font Awesome?
I include font awesome like this
add_action('wp_head', 'add_scripts');
if (!function_exists('add_scripts')) {
...
wp_enqueue_script('font_awesome', 'https://use.fontawesome.com/596a37ed18.js','','',true);
...
}
Answer the question
In order to leave comments, you need to log in
the fifth parameter "Whether to load in the footer" you set to true. Of course, it will load in the footer.
https://developer.wordpress.org/reference/function...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question