Here's a Wordpress snippet that will:
- Implement shortcodes to let you quickly insert a Font Awesome icon
- Properly loads the Font Awesome stylesheet (via CDN)
Add to your theme's functions.php file. Usage in content:
[fa icon='github']
for a single icon
[fa-btn icon='github' bg='square'(optional)]
for stacked icons
If you need additional stack variations, use the function as a starting point.
I make no claims about being an expert and if anyone has any useful feedback or comments, I'd greatly appreciate hearing them :)