We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Hi everyone, I just wanted to share a little bit of code that might help others who like to use FontAwesome 5 free or pro that I created for my latest project. I created a shortcode that can be used to add FontAwesome icons to any text field. Here's the GitLab repo! Let me know if it works well for you.
Adding it to your project will allow an editor to enter:
which will render:
<i class="fa far fa-user"></i>
The project readme documents how to target the different FontAwesome styles : regular, solid, light and brands as well as adding extra FA utility classes.
Want to reply to this thread?Login with Perch