• Resolved roelani

    (@roelani)


    Pro feature seems all sorts of broken. The CDN is being removed on Font Awesome’s side, I’m not sure if that has anything to do with it. Picking “Regular” style in the ACF field gives me only like a handful of icons over in the dropdown field.

    Picking “Brands” seems to work, but I haven’t counted how many icons are visible.

    Picking “Light” displays no icons at all. Neither does picking “Duotone”. “Solid” displays a whole bunch of icons, and the list feels complete.

    The domain is added in my legacy CDN options over on the Font Awesome website.

    I have tried also to enqueue the CDN line in my theme’s head, just in case. No dice. What am I doing wrong?

    Font Awesome gives us the option to download their files and host them ourselves. Why does this plugin need to bind itself to a CDN function that’s deprecated and subject to change? Is there no way to use LOCAL installation of the pro icons?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Matt Keys

    (@mattkeys)

    Can you check your browser console to see if there are any errors related to loading the pro CDN files?

    Thread Starter roelani

    (@roelani)

    Can do.

    Back end, picked “Light” option. Select box returns “No results found”, zero icons in the dropdown. No error in console. :’)

    Edited to add screenshot. Sorry for the french.
    https://share.kaweb.ca/g7BYgE

    • This reply was modified 4 years, 5 months ago by roelani.
    Thread Starter roelani

    (@roelani)

    What I have in Font Awesome legacy CDN options: https://share.kaweb.ca/3L9DP6

    Can’t share domain because it’s client-related but I can confirm the domain is there, and valid.

    Plugin Author Matt Keys

    (@mattkeys)

    Can you verify that the Pro files are being loaded? Here is an example of what you should see using the Chrome developer tools: https://cloudup.com/cBgNNI3OPPH

    Can you also verify that you have the Pro icons enabled within the FontAwesome Settings? There is a checkbox there you must check: https://cloudup.com/cSqBxeheij7

    Thread Starter roelani

    (@roelani)

    Only Brands and Solid appear to be loading. I have “Light” ticked in the ACF field setting.
    https://share.kaweb.ca/AQwbKT

    Reloaded and now I’m only getting “Brands”.
    https://share.kaweb.ca/07IDbl

    Is it because I have two icon fields? The other one is loading Brands, but it’s displayed in an Options page, and this one is in a repeater in an internal WordPress page.

    In the options:
    https://share.kaweb.ca/BVc41x

    • This reply was modified 4 years, 5 months ago by roelani.
    Plugin Author Matt Keys

    (@mattkeys)

    Multiple ACF fields should make no difference.

    On page load Chrome will only load the all.css file. It won’t start to load the font .woff2 files until something tries to use them. So for instance I loaded up a field in my test environment and I only had brands.woff2 loaded. Then I clicked the FontAwesome dropdown, and chrome loaded duotone, light, regular, and solid woff2 files, because all of those fields are used in my test.

    Is this something that you previously had working and it has stopped? Or are you brand new to this plugin?

    Something you can try, is switching the major version in the options from 5.x, to 4.x. Save the options, then switch back to 5.x (making sure CDN is checked) and save again.

    This should trigger the plugin to cache the available icons again, perhaps there was some failing in this process originally that is causing the issue.

    Thread Starter roelani

    (@roelani)

    GENIUS, that fixed it.

    How odd. Literally just magically fixed everything. Light option works now, exactly as it should.

    Might have done something off when I toggled checkbox before? I have no earthly clue why it was behaving so wonky. Thank you for the help.

    I’ve used this plugin before on a different project but that was a while ago, before Font Awesome rolled out their kits. This was a new install on a new WordPress project. Sucks that we can’t really figure out WHY this happened, but at least now if it happens to anyone else you can just direct them to this solution :’)

    Plugin Author Matt Keys

    (@mattkeys)

    Wonderful, glad it is working for you now. In a future release of this plugin I hope to move away from CDN and use kits instead. Just gotta find time in my schedule to work on it!

    Thread Starter roelani

    (@roelani)

    Thanks for the A+ support <3

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Pro icons don’t show or only show partially’ is closed to new replies.