• Resolved Bastian Fießinger

    (@bastianfiessinger)


    Currently the fontawesome script get’s automatically enqueued in the backend and frontend of the page.

    This might cause problems if:

    • Another plugin or theme enqueues fontawesome
    • You want to enqueue a kit / another version of fontawesome
Viewing 3 replies - 1 through 3 (of 3 total)
  • try to remove the according enqueues by adding this to your theme’s functions:

    remove_action('wp_enqueue_scripts', 'getbutterfly_fa_enqueue');
    remove_action('admin_enqueue_scripts', 'getbutterfly_fa_enqueue');

    a plugin setting or custom filter hook would be better, though…

    Plugin Author Ciprian

    (@butterflymedia)

    Next update is going to include a basic settings page with the ability to enqueue/dequeue the included Font Awesome script.

    It will also allow custom selection of the script version.

    Plugin Author Ciprian

    (@butterflymedia)

    This has now been implemented. As version 6 is approaching, new options are coming to allow older or newer versions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add settings to manually dequeue FontAwesome Scripts’ is closed to new replies.