{"id":18684,"date":"2021-01-13T15:00:23","date_gmt":"2021-01-13T14:00:23","guid":{"rendered":"https:\/\/qodeinteractive.com\/magazine\/?p=18684"},"modified":"2021-01-13T11:30:30","modified_gmt":"2021-01-13T10:30:30","slug":"how-to-add-icon-fonts-in-wordpress","status":"publish","type":"post","link":"https:\/\/qodeinteractive.com\/magazine\/how-to-add-icon-fonts-in-wordpress\/","title":{"rendered":"How to Add Icon Fonts in WordPress"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]Icon fonts are symbols, rather than letters, that allow you to add vector icons to your website without slowing it down, since you wouldn\u2019t be using large graphics files, but font files. Whether letters or icons, fonts are themselves graphics, and have more uses than just text. In this article, we will discuss how to add icon fonts to your WordPress website. But first, let us discuss the situations in which you might want to use them.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">When Can I Use My Icon Fonts?<\/h2>\n<p>[\/vc_column_text][vc_column_text]The obvious advantage of icon fonts over conventional image-based icons is speed: <strong>a font symbol<\/strong>, being a vector graphic, <strong>loads the same regardless of the size<\/strong> each icon takes up on your screen. Non-vector graphics lose quality when scaled up and become fuzzy. They are also very difficult to manipulate, and may require you to use image editors to create multiple versions of each graphic and then fiddle with your website settings until you have made sure that each device your visitor may be using is shown the optimal version of each graphic.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Conversely, fonts (including icon fonts) are <strong>easily scalable without loss in quality<\/strong>, they are literally <strong>made to be styled with colours and shadows<\/strong>, if needed, and are <strong>generally lightweight<\/strong>, especially in comparison to other graphics.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]An icon font typically contains <strong>commonly used symbols<\/strong> for various online functionalities, such as <strong>folders, chat bubbles, arrows, folders, pins, and similar<\/strong>. They are very often found in navigation menus, but you can use them anywhere you would otherwise use an image to indicate a common function. It will also possibly <strong>save you some time and money on icon design<\/strong> \u2013 after all, all you need is a comprehensive font.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]There are plenty of icon fonts to choose from, but our preferred ones are <a href=\"https:\/\/fontawesome.com\/\" target=\"_blank\" rel=\"noopener\">Font Awesome<\/a> and <a href=\"https:\/\/www.elegantthemes.com\/blog\/resources\/elegant-icon-font\" target=\"_blank\" rel=\"noopener\">Font Elegant<\/a>. For the purposes of this demonstration, we will mostly be using Font Awesome. Here is what we\u2019ll be covering:[\/vc_column_text][vc_empty_space height=&#8221;22px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#using-plugin\">How to Add Icon Fonts in WordPress Using a Plugin<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#using-elementor\">How to Add Icon Fonts in WordPress Using Elementor<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#using-code\">How to Add Icon Fonts in WordPress Using Code<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#add-font-awesome-icons-directly\">How to Add Font Awesome Icons Directly<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Other than the methods described above, you can add your icon fonts as custom fonts, just as you would any other font. We will not be discussing this method here, because we have already covered <a href=\"https:\/\/qodeinteractive.com\/magazine\/add-custom-wordpress-fonts\/\">adding custom fonts to WordPress<\/a> in-depth in another article.[\/vc_column_text][vc_empty_space height=&#8221;80px&#8221;][vc_widget_sidebar sidebar_id=&#8221;new-top-picks-banner&#8221;][vc_empty_space height=&#8221;81px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"using-plugin\"><\/a>How to Add Icon Fonts in WordPress Using a Plugin<\/h2>\n<p>[\/vc_column_text][vc_column_text]If you are a beginner WordPress user and don\u2019t feel comfortable adding new fonts to your theme by modifying the theme files \u2013 completely understandably \u2013 then a plugin is probably a good option for you. The plugin we will be using is <a href=\"https:\/\/wordpress.org\/plugins\/better-font-awesome\/\" target=\"_blank\" rel=\"noopener\">Better Font Awesome<\/a>. You need to install and activate it from the plugins section of your WordPress dashboard.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]And that\u2019s it, your website will now have Font Awesome support.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]But in order to use the icons themselves, you need something else: a shortcode. A shortcode is a piece of code with a simple function. In this case, it is to display an icon. <strong>To use Font Awesome icons, first you need to know what they are called and what they look like.<\/strong> You can do that easily using this <a href=\"https:\/\/fontawesome.com\/cheatsheet\" target=\"_blank\" rel=\"noopener\">cheat sheet<\/a> provided by the developers of the font.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Next, to add your font shortcodes to your website, simply <strong>add a shortcode block<\/strong> if using the Gutenberg block editor, a shortcode element if using Elementor, or just type in the shortcode where you need it if using the Classic editor (making sure you\u2019ve switched to the Text editing mode). We will show you how to do it with Gutenberg. We will add the shortcode in a post, but it works just the same for any area of your website which can accept a shortcode.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Clicking on the <strong>plus<\/strong> sign, you get the block menu. Search for a shortcode block, and paste in the shortcode you like. You can find an icon\u2019s name on the cheat sheet, and add it to the shortcode: <em>[icon name=&#8221;iconname&#8221;]<\/em>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Add-Block-Shortcode.jpg\" class=\"attachment-full size-full\" alt=\"Add Block Shortcode\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Add-Block-Shortcode.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Add-Block-Shortcode-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Add-Block-Shortcode-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Add-Block-Shortcode-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Now, say the randomly generated text we are using is describing a beverage. As a vignette in the text, we will use the <em>[icon name=&#8221;beer&#8221;]<\/em> shortcode between two blocks of text.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Shortcode-Icon.jpg\" class=\"attachment-full size-full\" alt=\"Shortcode Icon\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Shortcode-Icon.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Shortcode-Icon-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Shortcode-Icon-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Shortcode-Icon-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]You can also <strong>use these shortcodes within blocks of text<\/strong>, sort of like bullets. For instance, we will preface the final paragraph with another icon, using the shortcode <em>[icon name=&#8221;arrow-circle-right&#8221;]<\/em>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Shortcode-2.jpg\" class=\"attachment-full size-full\" alt=\"Shortcode\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Shortcode-2.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Shortcode-2-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Shortcode-2-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Shortcode-2-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]And your icons will be visible as part of the text on your page.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"574\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Icons-Preview.jpg\" class=\"attachment-full size-full\" alt=\"Icons Preview\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Icons-Preview.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Icons-Preview-300x178.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Icons-Preview-768x455.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Icons-Preview-620x367.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Another feature of this plugin is that it automatically updates: if there is a new version of Font Awesome, you will not be left behind! For more on <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-update-plugins\/\">how to update plugins<\/a>, you can check our handy step-by-step tutorial.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"using-elementor\"><\/a>How to Add Icon Fonts in WordPress Using Elementor<\/h2>\n<p>[\/vc_column_text][vc_column_text]A popular visual editor, Elementor allows you to easily use icon fonts. In fact, Elementor comes with Font Awesome already integrated. To add an icon using Elementor, start editing a post in Elementor, and find the <strong>Icon<\/strong> element in the left-hand side menu and drag it to where you want it.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"635\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Icon-Elementor-Shortcode.jpg\" class=\"attachment-full size-full\" alt=\"Icon Elementor Shortcode\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Icon-Elementor-Shortcode.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Icon-Elementor-Shortcode-300x197.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Icon-Elementor-Shortcode-768x503.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Icon-Elementor-Shortcode-620x406.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Now we have the default, the placeholder icon. To select another icon, simply click on the icon picture on the left-hand side while your icon element is selected. You can see that it has a blue rim around it.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Shortcode-Settings.jpg\" class=\"attachment-full size-full\" alt=\"Elementor Icon Shortcode Settings\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Shortcode-Settings.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Shortcode-Settings-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Shortcode-Settings-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Shortcode-Settings-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Select the icon which you like, and click insert to insert it instead of the placeholder. We have selected a bell icon from the <em>Font Awesome \u2013 Regular<\/em> icon set.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"647\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Font-Awesome-Icons.jpg\" class=\"attachment-full size-full\" alt=\"Elementor Font Awesome Icons\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Font-Awesome-Icons.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Font-Awesome-Icons-300x200.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Font-Awesome-Icons-768x513.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Font-Awesome-Icons-620x414.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]In the same tab, you can add a link or change the icon\u2018s alignment, as we have.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"622\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Position.jpg\" class=\"attachment-full size-full\" alt=\"Elementor Icon Position\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Position.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Position-300x193.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Position-768x493.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Position-620x398.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]You can change its colour in the <strong>Style<\/strong> tab while your icon is selected.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"611\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Color.jpg\" class=\"attachment-full size-full\" alt=\"Elementor Icon Color\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Color.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Color-300x189.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Color-768x484.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Elementor-Icon-Color-620x391.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]And now you know how to use icons in Elementor. There are plenty of other options for style and functionality of your icons in Elementor, but now you know the basics.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"using-code\"><\/a>How to Add Icon Fonts in WordPress Using Code<\/h2>\n<p>[\/vc_column_text][vc_column_text]We will show you the easiest method to add Font Awesome icons, a comprehensive and constantly updated icon set, to your WordPress website using code. First, you need to head to the <a href=\"https:\/\/fontawesome.com\/\" target=\"_blank\" rel=\"noopener\">Font Awesome<\/a> website, and click on the <strong>Start for Free<\/strong> button.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"479\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome.jpg\" class=\"attachment-full size-full\" alt=\"Font Awesome\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome-300x148.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome-768x380.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome-620x306.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Next, you will need to supply Font Awesome with your e-mail address and click <strong>Send Kit Code<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"467\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome-Email.jpg\" class=\"attachment-full size-full\" alt=\"Font Awesome Email\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome-Email.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome-Email-300x145.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome-Email-768x370.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome-Email-620x299.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Next, you need to check your e-mail address and configure your account. Simply follow the screen prompts until you reach the screen holding your code. Click <strong>Copy Kit Code<\/strong> to copy it.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome-Copy-Kit-Code.jpg\" class=\"attachment-full size-full\" alt=\"Font Awesome Copy Kit Code\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome-Copy-Kit-Code.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome-Copy-Kit-Code-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome-Copy-Kit-Code-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Font-Awesome-Copy-Kit-Code-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Finally, you need to copy this code to your theme\u2018s<em> header.php<\/em> file. You can find it by navigating to <strong>Appearance\/Theme Editor<\/strong> from your WordPress dashboard. It will be in the menu on the far right.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Theme-Editor.jpg\" class=\"attachment-full size-full\" alt=\"Theme Editor\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Theme-Editor.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Theme-Editor-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Theme-Editor-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Theme-Editor-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Simply paste the kit code you copied right below the &lt;\/head&gt; tag, and you are good to go.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"508\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Header-Edit-Code.jpg\" class=\"attachment-full size-full\" alt=\"Header Edit Code\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Header-Edit-Code.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Header-Edit-Code-300x157.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Header-Edit-Code-768x403.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Header-Edit-Code-620x325.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;78px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\"><a id=\"add-font-awesome-icons-directly\"><\/a>How to Add Individual Font Awesome Icons<\/h2>\n<p>[\/vc_column_text][vc_column_text]Finally, you can also add Font Awesome icons to your WordPress website individually, <strong>directly from the developer\u2019s library<\/strong>. You don\u2019t need a plugin or anything else to do that, you can simply use an icon you like. To do that, simply head to the <a href=\"https:\/\/fontawesome.com\/v4.7.0\/icons\/\" target=\"_blank\" rel=\"noopener\">Font Awesome icons gallery<\/a> and find an icon you like.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"594\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Find-Icon.jpg\" class=\"attachment-full size-full\" alt=\"Find Icon\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Find-Icon.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Find-Icon-300x184.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Find-Icon-768x471.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Find-Icon-620x380.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Click on it, and you will find the code you need to embed it.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/HTML-Icon.jpg\" class=\"attachment-full size-full\" alt=\"HTML Icon\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/HTML-Icon.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/HTML-Icon-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/HTML-Icon-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/HTML-Icon-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]To add your icon, you need to add it using code. For the Classic editor, it works just by pasting the code where you want it, using the Text mode. In Gutenberg, we use the <strong>Custom HTML<\/strong> block. In Elementor, you\u2018ll need the <strong>Custom HTML<\/strong> element, but the principle is the same. Simply paste the code you got from the icon library.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/HTML-Block.jpg\" class=\"attachment-full size-full\" alt=\"HTML Block\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/HTML-Block.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/HTML-Block-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/HTML-Block-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/HTML-Block-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]And your icon will be just where you put it!<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Final-Preview.jpg\" class=\"attachment-full size-full\" alt=\"Final Preview\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Final-Preview.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Final-Preview-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Final-Preview-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/01\/Final-Preview-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;78px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">In Conclusion<\/h2>\n<p>[\/vc_column_text][vc_column_text]As we have shown, it is very easy to install an icon font pack in WordPress. And not only that \u2013 it contributes favourably to responsiveness of your website and to loading speeds, making them a great choice if you are catering to users accessing your services on mobiles or with slower connection, but also better overall in terms of user experience. Lightweight, easy to style, and quick to load: what\u2019s not to like about that?<br \/>\n[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Looking for a way to make your website icons fast-loading and lightweight? It&#8217;s easy with icon fonts &#8211; we will show you how.<\/p>\n","protected":false},"author":16990,"featured_media":18763,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[4,13],"class_list":["post-18684","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-tips","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/18684","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/users\/16990"}],"replies":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/comments?post=18684"}],"version-history":[{"count":0,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/18684\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media\/18763"}],"wp:attachment":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media?parent=18684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/categories?post=18684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/tags?post=18684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}