Archived topic
GP + Font Awesome Pro
11 replies · Started by André on February 4, 2018
Hey Tom - love that FA icons are baked right into GP. If I have a Pro license to FA, how can I call the additions icons?
Thanks!
Hi there,
We're working on making everything FA5 compatible - they didn't make it easy on us! :)
At which point we will be baking FA5 Pro directly into GP Premium.
Brilliant! .. um, ETA? :)
I've started the theme update here: https://github.com/tomusborne/GeneratePress/tree/update/font-awesome-5
It's likely not 100% ready, but feel free to try it out :)
Certain Font Awesome icons are not showing up properly in my installation. Will this update be coming out soon?
Should be out soon. Just need some more testing.
Can you check if it's the same issue here? https://generatepress.com/forums/topic/social-icons-3/#post-498486
If so changing the prefix would fix it for now.
It is actually within a Beaver Builder module so I can't change this. I initially thought it was a Beaver Builder problem and their support guy went through our site and when he turned off the GP Premium plugin, the problem stopped. He suggested the following code for the functions.php but I thought I would check with you first before implementing such a solution in a child theme.
add_action( 'wp_enqueue_scripts', function(){
wp_dequeue_style( 'fontawesome' );
}, 10 );
What about the icons aren't displaying properly? Just not showing up at all? Which icons?
Look at the bottom of this page. There are placeholder animated gifs rather than icons. I don't know the code for the icons are they are in the Beaver Builder interface.
fa dashicons doesn't look like a Font Awesome icon: https://fontawesome.com/icons?d=gallery&q=dashicons
Never mind. I'll figure out another solution. Don't have time to debate whether or not they are Font Awesome when they are.
Dashicons are a completely different set made by WordPress https://developer.wordpress.org/resource/dashicons/