Adding Font Awesome to Your WordPress Theme
March 20, 2015



Font Awesome is an awesome tool that allows you to place scalable vector icons all throughout your website. Lots of WordPress plugins and themes use them, so it’s great to know how you can add it to your own custom WordPress theme as well.

Adding Font Awesome to your theme is extremely easy. To do it the right way you have to enqueue the script in your functions.php file. Make sure that you do NOT just add the script to the header or something like that – a lot of plugins use Font Awesome and there will be major problems if you don’t enqueue it correctly. See the code below:

This was just a short snippet of code but its really useful so hopefully you can use it in your theme! As always thank you for reading and please share it around as much as you can! Please feel free to put any suggestions or ideas for future tutorials in the comments section below.


Comments