- This topic has 9 replies, 3 voices, and was last updated 1 year, 6 months ago by Tom.
August 14, 2019 at 3:24 pm #984377Steven
I was looking in to additional Font Awesome icon support for the Kadence Blocks plugin. I came across something I thought I’d pass along in case it might make supporting Font Awesome easier into the future. When I searched on GP and FA, I found the following article:
I’m not super clear on how Generate Press is using Font Awesome icons at this point. However, I installed the Font Awesome plugin. On its status page, it seems to detect GP as an “unregistered” client loading FA resources. Here’s the content on that plugin page in case there’s any action GP may want to take to update the theme (see last line of the text below for a reference to GP):
We don’t detect any other active clients (like themes or plugins) that have registered requirements for Font Awesome.
These are plugins or themes we’ve detected that appear to be trying to load their own versions of Font Awesome. Loading more than one version of Font Awesome will almost certainly result in problems, eventually. So, even if all registered clients are satisfied with your configuration, they can be broken by an unexpected version of Font Awesome loaded by one of these unregistered clients.
We recommend enabling the Remove unregistered clients option to avoid such conflicts. When enabled, our plugin will attempt to stop these other clients from loading their own versions of Font Awesome. Most likely, they will continue to operate normally, as long as they are compatible with the version configured here.
If you enable Remove unregistered clients and the results produced by those unregistered clients aren’t what you expect (for example, their icons are missing), then you could try to select different options here, trying to find a configuration that is compatible with them. Since they are unregistered clients, we don’t know what their requirements are, so you kinda just have to guess. You’ll know you’ve found a workable configuration when all of the registered clients are satisfied (no conflicts shown here), and the unregistered clients produce expected results (their icons look right to you).
A couple other options for resolving problems with unregistered clients:
Deactivate or replace it, if possible.
Contact the developer for the unregistered client and ask them to consider updating their code to register with this Font Awesome Official plugin. Let them know they can reach us at firstname.lastname@example.org.
Name Type LoadingAugust 14, 2019 at 3:30 pm #984379StevenAugust 14, 2019 at 3:50 pm #984392LeoStaffCustomer Support
I’m not super clear on how Generate Press is using Font Awesome icons at this point.
GP doesn’t load FA at all currently so it is up to the user to install third party plugin to load it when it’s needed
Keep in mind that some other plugins will also load it for you automatically (like Elementor I believe) so that might be where the warning is coming from – you could disable all active plugins except GP Premium to test this.
Let me know if this helps 🙂August 14, 2019 at 3:53 pm #984394Steven
The warning references: https://cityofbellingh.wpengine.com/wp-content/themes/generatepress/css/font-awesome.min.css which seems to indicate GP is using FA in someway – at least historically if not currently.August 14, 2019 at 4:06 pm #984401LeoStaffCustomer Support
GP used to use FA but it has been removed since theme version 2.1 which was released in May last year:
Do you still see any FA settings in Customizer > General?August 14, 2019 at 4:12 pm #984405Steven
When I go to Appearance > GeneratePress it shows:
GP Premium 1.8.3
If GP isn’t using FA anymore, then maybe this is just a bit of housekeeping to clean out that CSS file in the next version to avoid it being detected by the FA plugin.August 14, 2019 at 4:26 pm #984408LeoStaffCustomer SupportAugust 14, 2019 at 4:48 pm #984423TomLead DeveloperLead Developer
If it’s loading that file, it means you need to go to Customize > General to check the “Load essential icons only” option.
Checking this option will make it disappear (once you save), and GP will never load Font Awesome again.August 14, 2019 at 5:19 pm #984449Steven
Thanks Tom and Leo – selecting that resulted in the FA plugin no longer detecting that CSS file.August 15, 2019 at 8:50 am #984954
- You must be logged in to reply to this topic.