Remove Font Awesome? | WordPress.org

[ad_1]

Hi @fkoomek

I hope this message finds you well. I want to inform you that we are working on implementing an option to disable Font Awesome our plugin. However, until that feature is available, I can provide you with a code snippet that temporarily disables Font Awesome. It’s essential to note that users won’t see any icons from our plugin on the front by using this code.

To proceed, please follow these steps:

  1. Open your theme’s function.php file.
  2. Copy and paste the following code into the file:
//* EB Dequeue Styles - Remove Font Awesome
add_action( 'wp_print_styles', 'eb_dequeue_font_awesome_style' );
function eb_dequeue_font_awesome_style() {
      wp_dequeue_style( 'essential-blocks-fontawesome' );
      wp_deregister_style( 'essential-blocks-fontawesome' );
}

Once you’ve added the code, Font Awesome will be disabled on your website. Please take note of any changes you observe on the frontend, as icons from our plugin will no longer be visible.

Feel free to let us know how it goes or if you encounter any issues. Your feedback is valuable to us.

Thank you for your understanding and cooperation.
Have a nice day.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer