Font Awesome 5 has been recently released with SVG vector icons compared to the earlier icon fonts.
To load Font Awesome 5+’s “SVG with JS” in your WordPress site, add the following in the active theme’s functions.php file, or use a site-specific plugin.
Alternatively, you could load paste this line of code into the head of every page you want to use font awesome fonts.<script defer src=“https://use.fontawesome.com/releases/v5.0.1/js/all.js”></script>
Replace both instances of
5.0.1 with the current latest version which can be seen at https://fontawesome.com/get-started/svg-with-js.