• Resolved stefanbay

    (@stefanbay)


    Hello,

    I want to include this plugin in my theme boilerplate, and want to know, if there’s a method to make the 5.x version of font-awesome the default version?

    – Stefan

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

    (@mattkeys)

    There is not currently a method to force a version to be used. It currently uses a “smart select” where if a user is upgrading from a previous version of this plugin, it will continue to use the FA 4.x fonts to maintain compatibility.

    If it is a new installation, it will default to the FA 5.x fonts.

    loicpennamen

    (@loicpennamen)

    Hello Matt. I’m sorry but it doesn’t seem to. I have been trying for several hours to reset the plugin, but it stubbornly keeps using FA V4 (I’m designing a theme that relies a lot on this version).

    So, I deleted the plugin and downloaded both the Beta3 and dev version. I also removed those two entries from the database options :
    ACFFA_current_version
    ACFFA_icon_data

    Yet when I reinstall the plugin, AND on every page reload, the value of ACFFA_current_version is resetted to 4.7.0.

    So, I tried to force the URL as such :

    function acf_get_fa_url() {
    	return 'https://use.fontawesome.com/releases/v5.4.1/css/all.css';
    }
    add_filter('ACFFA_get_fa_url', 'acf_get_fa_url');

    But no luck either. Sorry for asking, but am I missing something?

    Plugin Author Matt Keys

    (@mattkeys)

    Hmm, you aren’t missing anything. I just tested it and it is defaulting to v4 on new installs.

    I’ll write back when I’ve had more time to work on this.

    Plugin Author Matt Keys

    (@mattkeys)

    btw, this topic is about defaulting a new install to v5 of FontAwesome, for anyone reading this who is using the 3.0 beta, you can change the active version in the FontAwesome settings. This admin menu is found under the main ACF ‘custom fields’ settings in the wp-admin area.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Making the 5.x default’ is closed to new replies.