• Good Morning,

    is there a way to run this plugin local with self hosted files?

    I tried in functions.php:

    add_action('wp_enqueue_scripts', function(){	
    wp_dequeue_style( 'font-awesome-official-css' );
    });

    but it dont remove the the extern fileload

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author mlwilkerson

    (@mlwilkerson)

    Yes and no. It depends on what exactly you want to accomplish.

    In general, no, the plugin is designed primarily to load assets from the Font Awesome CDN, and there is no straightforward way to work around that. So if want you want is to have a normal self-hosted installation of Font Awesome, then you should set that up manually and not use this plugin at all.

    This official documentation can guide you through a self-hosted setup.

    However, there is a self-hosted mode available through this plugin IF you’re only using it through the plugin’s Icon Chooser. You can read about that mode in official documentation here.

    In that mode, once set up and icons are added, the front end page loads use entirely self-hosted assets. However, note that the CDN and API services are still used on the page end when setting up the installation and editing page content.

    There is a feature in development that can automatically download your Font Awesome kit and set it up for self-hosting. It’s not yet available in the released plugin, though. If it were available, do you think that would work for you?

    Thread Starter Sven

    (@zwante)

    Hello and thanks for the reply.
    yes, the self-hosting feature wold be nice.

    thx for the link to the advanced setup, i think i can use this

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.