Use the fa shortcode to add a Font Awesome icon with ease.
Use the fa
shortcode to quickly add a Font Awesome icon to your content. Use fa
for regular icons, fab
for brand icons, and fas
for solid icons.
The shortcode supports unnamed arguments only and requires at least one argument. The first argument is used as the icon name without the fa-
prefix. Additional (unnamed) arguments are passed as class
attributes to the inner HTML element.
As an example, the following shortcodes show a square check, a brand logo, and a circle check.
{{< fa square-check >}}
{{< fab linkedin >}}
{{< fas circle-check >}}