Want to add Font Awesome icons to WordPress?Font Awesome icons are awesome (sic!) because, unlike regular images:You can resize them with no quality loss because they’re vectors.They’re super easy to customize – you can change sizes, add animation, throw on a border, and lots more.Right this moment, Font Awesome includes over 2,986 different icons. And I’m going to show you 3 ways that you can start using them on your WordPress site.First, you’ll learn a simple manual method that you can use to add Font Awesome.Then, you’ll learn how you can use 2 different plugins to accomplish much the same thing.If you absolutely know that you want to use a plugin, click here to skip straight to that section. Otherwise, let’s get started with the manual method!How To Manually Add Font Awesome Icons To WordPressTo manually add Font Awesome icons to WordPress, all you need to do is enqueue a stylesheet in your WordPress theme. Sounds complicated, … [Read more...] about How To Add Font Awesome Icons To WordPress: 3 Easy Methods
Font awesome which version
Font Awesome 5.2 Adds 372 New Icons, Introduces Automotive and Education Categories
Sarah Gooding July 26, 2018 0 Font Awesome 5.2 was released yesterday with two new categories and 372 new icons, bringing the total number of free icons to 1,295. The open source vector icon font is used on more than 22 million sites across the internet. It’s also a popular icon font with WordPress theme and plugin developers. Version 5.2 introduces automotive and education categories, which should be useful to fill the gaps for designers and developers creating sites around these subjects. The release also adds 66 new and updated icons to the Medical category and 126 new and updated Maps icons. Font Awesome, originally created by Dave Gandy, is an SIL OFL-licensed icon font, with the code under the MIT License. Thanks to its GPL-friendly license, the icon font is widely used in WordPress’ theme and plugin ecosystem in both commercial and free products. Font Awesome’s Github issues queue is also loaded with icon requests that would be used in niche … [Read more...] about Font Awesome 5.2 Adds 372 New Icons, Introduces Automotive and Education Categories
How to add crossorigin and integrity to wp_register_style? (Font Awesome 5)
I am upgrading Font Awesome 4 to version 5 which introduces both integrity and crossorigin attributes to the <link rel="stylesheet"> markup. Currently, I am using: wp_register_style('FontAwesome', 'https://example.com/font-awesome.min.css', array(), null, 'all' ); wp_enqueue_style('FontAwesome'); Which outputs as: <link rel="stylesheet" id="FontAwesome-css" href="https://example.com/font-awesome.min.css" type="text/css" media="all" /> With Font Awesome 5 it introduces two new attributes and values (integrity and crossorigin) e.g: <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous"> So I need to find out how I can add both the integrity and crossorigin to wp_register_style, I have tried but my attempts to use wp_style_add_data have failed, it would seem that this method only supports conditional, rtl and suffix, alt and … [Read more...] about How to add crossorigin and integrity to wp_register_style? (Font Awesome 5)
How to Add Font Awesome Icons to WordPress Menus
Sarah Gooding December 6, 2013 21 Font Awesome is an icon font comprised of 369 scalable vectors that can be customized via CSS to change the size, color, add drop shadows, adjust opacity, etc. Though originally designed for Twitter Bootstrap, the font is available for use within any project. These icons have fewer compatibility issues because they don’t require JavaScript. They also look great on retina displays because the font is made up of vectors that can scale to any size. Earlier this year the Font Awesome icon font wasn’t allowed in the WordPress Plugin Repository due to its licensing. Plugins that loaded the font were closed down. Finally, in May of 2013, WordPress removed the ban on Font Awesome after it updated its license to be open source and GPL-compatible. Plugin and theme developers are now free to make use of the font in their extensions, provided they don’t load from a CDN. Font Awesome 4 Menus is one of the newer plugins that include the … [Read more...] about How to Add Font Awesome Icons to WordPress Menus
How to add Font Awesome 5 icons in WP Admin dashboard menu?
If you are currently using or looking to start using Font Awesome in your theme to get icons for your dashboard menu, but the icons you are wanting to use are in Font Awesome 5 and the version 4 implementation isn't working for newer icons. You might have been asking yourself the same question I have... How do I add Font Awesome 5 icons in WP Admin dashboard menu? Just so you know, I plan to answer my own question, so there will be no code or examples in the question section as everything you need to know will be in the answer. … [Read more...] about How to add Font Awesome 5 icons in WP Admin dashboard menu?