Navigation überspringen

[Gelöst] Disabling FontAwesome

This support ticket is created vor 1 year, 7 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 1 reply, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 1 year, 7 months.

Assistiert von: Minesh.

Author
Artikel
#2779419

Hi there,

Toolset settings allow users to set the version of FontAwesome to either 4.x or 5.x. The current version is 6.x. How do I disable the Toolset version of FontAwesome on the front-end of the site?

Thank you!

Saul

#2779599

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

What if you try to use the following code to remove the font-awesome CSS.

function func_remove_font_awesome_css() {
    
    // please change the handle as required 
    $handle = "font-awesome";

    wp_dequeue_style($handle);
    wp_deregister_style($handle);
 
    
}
add_action( 'wp_enqueue_scripts', 'func_remove_font_awesome_css', 20 );

Where:
Replace the $handle value with actual value.

#2779971

Thanks, Minesh!