{"id":7396,"date":"2021-06-10T05:34:51","date_gmt":"2021-06-10T05:34:51","guid":{"rendered":"https:\/\/readyship.co\/blog\/?p=7396"},"modified":"2021-06-10T05:34:54","modified_gmt":"2021-06-10T05:34:54","slug":"add-font-awesome-icons-wordpress-menu-no-plugin","status":"publish","type":"post","link":"https:\/\/readyship.co\/blog\/add-font-awesome-icons-wordpress-menu-no-plugin\/","title":{"rendered":"How to Add Font Awesome Icons to WordPress Menu without a Plugin"},"content":{"rendered":"\n<p>Adding icons to your WordPress menu can improve the design, user experience, and even conversions because visuals can grab the users&#8217; attention. <\/p>\n\n\n\n<p>One of the best ways to achieve this is to use Font Awesome, which is a well-known platform that provides a lot of quality icons that you can add to your WordPress menu and other places. <\/p>\n\n\n\n<p>Font Awesome also makes it easier to implement their icons in your WordPress website, with or without a plugin. <\/p>\n\n\n\n<p>In this step-by-step tutorial, I&#8217;ll take the latter approach. I&#8217;ll show you how to add Font Awesome icons to your WordPress menu without a plugin. It&#8217;s a little bit more advanced, but I&#8217;ll try to make it easier for beginners as well.<\/p>\n\n\n\n<p>Let&#8217;s get to work!<\/p>\n\n\n\n<div class=\"wp-block-group rs-toc\"><div class=\"wp-block-group__inner-container\">\n<p><strong>Contents<\/strong><\/p>\n\n\n\n<ol><li><a href=\"#kit-vs-cdn\">Using Font Awesome Kit vs CDN<\/a><\/li><li><a href=\"#set-up-kit\">Setting Up the Font Awesome Kit in WordPress<\/a><\/li><li><a href=\"#add-icons-menu\">Adding the Font Awesome Icons to the WordPress Menu<\/a><\/li><li><a href=\"#fixing-issues\">Fixing the Font Awesome Icons in the WordPress Menu<\/a><\/li><li><a href=\"#customization\">Customizing the Font Awesome Icons in the WordPress Menu<\/a><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<h2 id=\"kit-vs-cdn\">Using Font Awesome Kit vs CDN<\/h2>\n\n\n\n<p>Before getting to the main point, let me write a bit about the <a href=\"https:\/\/blog.fontawesome.com\/introducing-font-awesome-kits\/\">Font Awesome Kit<\/a> and CDN. <\/p>\n\n\n\n<p>In most tutorials on this topic, you&#8217;ll see that the CDN method is used. That&#8217;s because they&#8217;re old and not updated yet.<\/p>\n\n\n\n<p>While the CDN option is still somewhat available, it&#8217;s discontinued, as it&#8217;s mentioned by Font Awesome:<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\">\n<blockquote class=\"wp-block-quote\"><p>John, this version of Font Awesome&#8217;s CDN is being Sunsetted.<br><br>You may still use it for any of the domains you&#8217;ve set below, but we will not be bringing new features to this service. Instead, we&#8217;re using Font Awesome Kits host and do even more for you with auto-accessibility, better performance, updates without touching code, and more!<\/p><\/blockquote>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"124\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/cdn-deprecated-font-awesome.png\" alt=\"font awesome sunsetting cdn\" class=\"wp-image-7402\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/cdn-deprecated-font-awesome.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/cdn-deprecated-font-awesome-300x44.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/cdn-deprecated-font-awesome-768x113.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>If you&#8217;re wondering why they call me John, not Radu &#8211; it&#8217;s because I set up an account for testing purposes, and I added John Doe as my name. \ud83d\ude42<\/p>\n\n\n\n<p>Back to the point &#8211; You&#8217;ll also need to subscribe to the Pro version to use the CDN.<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container\">\n<blockquote class=\"wp-block-quote\"><p>You Need a Pro Subscription to use the Pro CDN <br><br>A subscription gets you access to services like the Pro CDN, new icons as soon as they are released, updates, and dedicated support from the Font Awesome Team.<\/p><\/blockquote>\n\n\n\n<p><\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"334\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/cdn-pro-font-awesome.png\" alt=\"pro subscription required to use font awesome cdn\" class=\"wp-image-7403\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/cdn-pro-font-awesome.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/cdn-pro-font-awesome-300x119.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/cdn-pro-font-awesome-768x305.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>Moreover, using the CDN feature is more complicated, requiring more custom code to be added, as you can <a href=\"https:\/\/fontawesome.com\/v5.15\/how-to-use\/customizing-wordpress\/snippets\/setup-cdn-webfont\">see in the documentation<\/a>.<\/p>\n\n\n\n<p>So, since the Font Awesome Kit is the new kid on the block, bringing new features, auto-accessibility, better performance, and updates, you&#8217;d be better off using it from the start to add icons to your WordPress menu.<\/p>\n\n\n\n<p>Oh, and don&#8217;t think that the Font Awesome Kit doesn&#8217;t rely on a CDN, because it does, as they mention <a href=\"https:\/\/fontawesome.com\/v5.15\/how-to-use\/customizing-wordpress\/intro\/getting-started\">here<\/a>. <\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>So don\u2019t think that the kits approach in these examples is sans-CDN. Kits are backed by a fast and stable CDN.<\/p><\/blockquote>\n\n\n\n<p>So, your Font Awesome icons will still be served fast.<\/p>\n\n\n\n<p>Now, let&#8217;s see how to use it.<\/p>\n\n\n\n<div class=\"wp-block-group rs-cta has-background\" style=\"background-color:#fafaff\"><div class=\"wp-block-group__inner-container\">\n<p class=\"has-large-font-size\">Looking to Buy or Sell WordPress Sites?<\/p>\n\n\n\n<p>At ReadyShip, we offer an all-in-one WordPress solution for those looking to start a blog or site, as well as the opportunity for WordPress developers or professionals to sell their products!<\/p>\n\n\n\n<div class=\"wp-block-buttons\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link\" href=\"https:\/\/readyship.co\/products\">Browse Sites<\/a><\/div>\n\n\n\n<div class=\"wp-block-button is-style-outline\"><a class=\"wp-block-button__link\" href=\"https:\/\/readyship.co\/blog\/start-selling\/\">Start Selling<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2 id=\"set-up-kit\">Setting Up the Font Awesome Kit in WordPress<\/h2>\n\n\n\n<p>So, I mentioned above why Font Awesome Kit is the way to go nowadays. Now, let&#8217;s see how to set it up in WordPress to enable the icons for the menu.<\/p>\n\n\n\n<h3>Step 1<\/h3>\n\n\n\n<p>Create a Font Awesome account <a href=\"https:\/\/fontawesome.com\/start\">here<\/a>. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"613\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/sign-up-font-awesome.png\" alt=\"font awesome account creation\" class=\"wp-image-7407\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/sign-up-font-awesome.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/sign-up-font-awesome-300x219.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/sign-up-font-awesome-768x560.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>Add your email, click on the verification link that you receive in your inbox, then set up your password. <\/p>\n\n\n\n<p>Once you finish that, you&#8217;ll be brought to your Font Awesome Kit, which is automatically created for you.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"772\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-kit.png\" alt=\"font awesome kit\" class=\"wp-image-7408\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-kit.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-kit-300x276.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-kit-768x706.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<h3>Step 2<\/h3>\n\n\n\n<p>Your Font Awesome Kit will be named something random, hard to remember. You can see from the above screenshot that mine was named <code>0654eeb6db<\/code>. <\/p>\n\n\n\n<p>I recommend changing that with something else.<\/p>\n\n\n\n<p>So, go to <strong>Settings<\/strong> and change the name in the <strong>Kit Name<\/strong> field. You could add your website name, for example. I&#8217;ll be adding <code>wplab<\/code>, which is the domain name for my WordPress testing site.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"416\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/change-kit-name-font-awesome.png\" alt=\"renaming the font awesome kit\" class=\"wp-image-7411\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/change-kit-name-font-awesome.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/change-kit-name-font-awesome-300x149.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/change-kit-name-font-awesome-768x380.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>Scroll down and click on the <strong>Save Changes<\/strong> button.<\/p>\n\n\n\n<h3>Step 3<\/h3>\n\n\n\n<p>It&#8217;s a good idea to add your domain to your Font Awesome Kit. Otherwise, other people can use it on their sites because the link will be visible on your WordPress site&#8217;s source code. Anyone can grab it.<\/p>\n\n\n\n<p>So, it&#8217;s best to limit the Kit usage only to your domain(s).<\/p>\n\n\n\n<p>To do that, go to the <strong>Settings<\/strong> page if you&#8217;re not there already from step 2, scroll down to the <strong>Domains<\/strong> section, and click on the <strong>Add a domain<\/strong> button.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"748\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/add-domain-font-awesome-kit.png\" alt=\"adding a domain to font awesome kit\" class=\"wp-image-7414\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/add-domain-font-awesome-kit.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/add-domain-font-awesome-kit-300x267.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/add-domain-font-awesome-kit-768x684.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<h3>Step 4<\/h3>\n\n\n\n<p>Depending on your needs, you can add it in different ways. <\/p>\n\n\n\n<p>For example, I added <code>*.wplab.cyou<\/code> because I want the Font Awesome Kit to cover any potential subdomains as well, including <code>www<\/code>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"684\" height=\"137\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/domain-font-awesome-kit.png\" alt=\"\" class=\"wp-image-7415\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/domain-font-awesome-kit.png 684w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/domain-font-awesome-kit-300x60.png 300w\" sizes=\"(max-width: 684px) 100vw, 684px\" \/><\/figure><\/div>\n\n\n\n<p>You can find details and examples by clicking on the <strong>Full details<\/strong> link under the field. A popup will show up with what you need to know.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"615\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/domain-details-font-awesome.png\" alt=\"domain details on font awesome kits settings\" class=\"wp-image-7416\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/domain-details-font-awesome.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/domain-details-font-awesome-300x220.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/domain-details-font-awesome-768x562.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>If you have a simple domain name without <code>www<\/code>, like <code>example.com<\/code>, and you know for sure that you&#8217;ll only use Font Awesome on that one, then you can simply add <code>example.com<\/code> there. The same goes for the <code>www<\/code> version.<\/p>\n\n\n\n<p>Click on the <strong>Save Changes<\/strong> button again once you&#8217;re done.<\/p>\n\n\n\n<h3>Step 5<\/h3>\n\n\n\n<p>Now, we&#8217;ll use the <a href=\"https:\/\/fontawesome.com\/v5.15\/how-to-use\/customizing-wordpress\/snippets\/setup-kit\">official documentation on how to set up Font Awesome Kit in WordPress without a plugin<\/a>.<\/p>\n\n\n\n<p>The first thing you need to do is to access your theme&#8217;s <code>functions.php<\/code> file because you&#8217;ll need to add a code snippet there. Here&#8217;s a tutorial that I wrote on <a href=\"https:\/\/readyship.co\/blog\/access-edit-wordpress-files\/\">how to access and edit your WordPress files using 3 different methods<\/a>.<\/p>\n\n\n\n<p class=\"rs-warning\">For safety, especially if you&#8217;re a beginner, I recommend that you back up your <code>functions.php<\/code> file or <a href=\"https:\/\/readyship.co\/blog\/backup-restore-wordpress-site-updraftplus\/\">the entire WordPress website<\/a>.<\/p>\n\n\n\n<p>I strongly recommend having a <a href=\"https:\/\/developer.wordpress.org\/themes\/advanced-topics\/child-themes\/\">child theme<\/a> in place and adding the code in its <code>function.php<\/code> file. Otherwise, the changes will be gone with the next theme update if you add it in the parent theme&#8217;s file.<\/p>\n\n\n\n<p>The usual path to the file is:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public_html\/wp-content\/themes\/YourThemeName-child\/functions.php<\/code><\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"670\" height=\"788\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/editing-functions-php-wordpress-file-cpanel.png\" alt=\"Editing the Twenty Sixteen's function.php file in cPanel's File Manager\" class=\"wp-image-7418\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/editing-functions-php-wordpress-file-cpanel.png 670w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/editing-functions-php-wordpress-file-cpanel-255x300.png 255w\" sizes=\"(max-width: 670px) 100vw, 670px\" \/><figcaption>Editing Twenty Sixteen&#8217;s functions.php file in cPanel&#8217;s File Manager<\/figcaption><\/figure><\/div>\n\n\n\n<p><strong>If you don&#8217;t have a child theme<\/strong>, then you can use a plugin called <a href=\"https:\/\/wordpress.org\/plugins\/code-snippets\/\">Code Snippets<\/a>. It allows you to add PHP code snippets to your WordPress website. <\/p>\n\n\n\n<p>The Code Snippets plugin could be a better choice if you think that you might change your WordPress theme in the future.<\/p>\n\n\n\n<h3>Step 6<\/h3>\n\n\n\n<p>Now that you found and opened the <code>functions.php<\/code> file, or installed the Code Snippets plugin, you can copy and paste the following code snippet there. <\/p>\n\n\n\n<p class=\"rs-info\">Note that <a href=\"https:\/\/fontawesome.com\/v5.15\/how-to-use\/customizing-wordpress\/snippets\/setup-kit\">this code is taken from Font Awesome&#8217;s documentation<\/a>. While it will probably not change soon or at all, you should still check it out to see if any updates were made to it. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/**\n * Font Awesome Kit Setup\n * \n * This will add your Font Awesome Kit to the front-end, the admin back-end,\n * and the login screen area.\n *\/\nif (! function_exists('fa_custom_setup_kit') ) {\n  function fa_custom_setup_kit($kit_url = '') {\n    foreach ( &#91; 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ] as $action ) {\n      add_action(\n        $action,\n        function () use ( $kit_url ) {\n          wp_enqueue_script( 'font-awesome-kit', $kit_url, &#91;], null );\n        }\n      );\n    }\n  }\n}<\/code><\/pre>\n\n\n\n<p>If you&#8217;re using the <code>functions.php<\/code> file, paste it right after anything that you already have there.<\/p>\n\n\n\n<p>Now, right after that snippet, paste this line as well:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fa_custom_setup_kit('https:\/\/kit.fontawesome.com\/42deadbeef.js');<\/code><\/pre>\n\n\n\n<p>Now, here, <strong>it&#8217;s important to change<\/strong> the <code>.js<\/code> file name from the link with your own Font Awesome Kit token, which was the random name from step 2, before the change. <\/p>\n\n\n\n<p>Don&#8217;t worry, you can still find it in your Font Awesome account by going to <strong>Kits<\/strong>, then clicking on your Kit&#8217;s name.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"599\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/selecting-kit.png\" alt=\"selecting kit from font awesome\" class=\"wp-image-7423\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/selecting-kit.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/selecting-kit-300x214.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/selecting-kit-768x548.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>This will bring up your Kit&#8217;s dashboard. There, on the <strong>How to Use<\/strong> tab, from the <strong>Kit Code<\/strong>, copy <strong>only<\/strong> the token, which is basically the name of the <code>.js<\/code> file from the link. Copy it without the <code>.js<\/code> extension.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"264\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/copy-font-awesome-kit-token.png\" alt=\"copy font awesome kit token\" class=\"wp-image-7425\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/copy-font-awesome-kit-token.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/copy-font-awesome-kit-token-300x94.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/copy-font-awesome-kit-token-768x241.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>In my case, the token is <code>0654eeb6db<\/code>. So, I&#8217;ll replace it in the last line of code that I told you to paste at the end of the first code snippet. Thus, the last line of code for me will be this one, with my own token in it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fa_custom_setup_kit('https:\/\/kit.fontawesome.com\/0654eeb6db.js');<\/code><\/pre>\n\n\n\n<p>So, I replaced <code>42deadbeef<\/code> with my token, which is <code>0654eeb6db<\/code>. And, finally, the whole code looks like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/**\n * Font Awesome Kit Setup\n * \n * This will add your Font Awesome Kit to the front-end, the admin back-end,\n * and the login screen area.\n *\/\nif (! function_exists('fa_custom_setup_kit') ) {\n  function fa_custom_setup_kit($kit_url = '') {\n    foreach ( &#91; 'wp_enqueue_scripts', 'admin_enqueue_scripts', 'login_enqueue_scripts' ] as $action ) {\n      add_action(\n        $action,\n        function () use ( $kit_url ) {\n          wp_enqueue_script( 'font-awesome-kit', $kit_url, &#91;], null );\n        }\n      );\n    }\n  }\n}\nfa_custom_setup_kit('https:\/\/kit.fontawesome.com\/0654eeb6db.js');<\/code><\/pre>\n\n\n\n<p>Here&#8217;s how it looks pasted in a child theme&#8217;s <code>functions.php<\/code> file, using cPanel&#8217;s File Manager.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"659\" height=\"707\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/functions-php-font-awesome-kit-code.png\" alt=\"font awesome kit code in functions.php\" class=\"wp-image-7426\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/functions-php-font-awesome-kit-code.png 659w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/functions-php-font-awesome-kit-code-280x300.png 280w\" sizes=\"(max-width: 659px) 100vw, 659px\" \/><\/figure><\/div>\n\n\n\n<p>And here&#8217;s how it looks like in Code Snippets, instead of a child theme&#8217;s <code>functions.php<\/code> file:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"524\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/code-snippets-font-awesome-kit-code.png\" alt=\"font awesome kit code in Code Snippets\" class=\"wp-image-7428\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/code-snippets-font-awesome-kit-code.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/code-snippets-font-awesome-kit-code-300x187.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/code-snippets-font-awesome-kit-code-768x479.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>In Code Snippets, you just click on <strong>Add New<\/strong>, add a descriptive name, paste the code, then save.<\/p>\n\n\n\n<div class=\"wp-block-group rs-cta has-background\" style=\"background-color:#fafaff\"><div class=\"wp-block-group__inner-container\">\n<p class=\"has-large-font-size\"><strong>Looking for an All-in-One WordPress Solution?<\/strong><\/p>\n\n\n\n<p>ReadyShip offers you ready-made WordPress sites and blogs, plus high-quality managed AWS hosting with free SSL and CDN, at <strong>no initial cost!<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link\" href=\"https:\/\/readyship.co\/products\">Visit Marketplace<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2 id=\"add-icons-menu\">Adding the Font Awesome Icons to the WordPress Menu<\/h2>\n\n\n\n<p>Now that you&#8217;ve set up the Font Awesome Kit, let&#8217;s see how to add the icons to the WordPress menu manually, without a plugin.<\/p>\n\n\n\n<h3>Step 1<\/h3>\n\n\n\n<p>Access your WordPress menu by going to <strong>Appearance<\/strong> &gt; <strong>Menus<\/strong>. <\/p>\n\n\n\n<p>There, click on <strong>Screen Options<\/strong>, which you&#8217;ll find in the top-right corner, right under your WordPress username and avatar.<\/p>\n\n\n\n<p>Now, under <strong>Show advanced menu properties<\/strong>, enable <strong>CSS Classes<\/strong> by checking the box next to it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"840\" height=\"323\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/enable-css-classes-wordpress-menu.png\" alt=\"enable css classes for wordpress menu\" class=\"wp-image-7433\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/enable-css-classes-wordpress-menu.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/enable-css-classes-wordpress-menu-300x115.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/enable-css-classes-wordpress-menu-768x295.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<h3>Step 2<\/h3>\n\n\n\n<p>Go to <a href=\"https:\/\/fontawesome.com\/v5.15\/icons?d=gallery&amp;p=2&amp;m=free\">Font Awesome&#8217;s free icons<\/a> (if you don&#8217;t have Pro), search for the icon that you want, and click on it to bring up more options.<\/p>\n\n\n\n<p>I&#8217;ve chosen a house icon to add for the Home page in my WordPress menu.<\/p>\n\n\n\n<p>After selecting your Font Awesome icon, copy only the class from the <code>&lt;i&gt;<\/code> tag. That&#8217;s all you need. You don&#8217;t need the whole tag in this case.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"446\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/copy-font-awesome-icon-class.png\" alt=\"font awesome icon class\" class=\"wp-image-7436\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/copy-font-awesome-icon-class.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/copy-font-awesome-icon-class-300x159.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/copy-font-awesome-icon-class-768x408.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>In my case, the class is <code>fas fa-home<\/code>.<\/p>\n\n\n\n<h3>Step 3<\/h3>\n\n\n\n<p>Go back to your WordPress menu, open up a menu item by clicking on the down arrow, and paste the class from Font Awesome in the <strong>CSS Classes (optional)<\/strong> field.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"749\" height=\"564\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-class-worpress-menu.png\" alt=\"add font awesome icon class to wordpress menu\" class=\"wp-image-7437\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-class-worpress-menu.png 749w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-class-worpress-menu-300x226.png 300w\" sizes=\"(max-width: 749px) 100vw, 749px\" \/><\/figure><\/div>\n\n\n\n<p>Repeat steps 2 and 3 for every WordPress menu item where you want to add Font Awesome icons.<\/p>\n\n\n\n<p>Click on the <strong>Save Menu<\/strong> button when you&#8217;re done.<\/p>\n\n\n\n<h3>Step 4<\/h3>\n\n\n\n<p>Check to see if the Font Awesome icons appear in your WordPress menu.<\/p>\n\n\n\n<p>If they don&#8217;t show up at all, it might be a caching issue. Make sure you clear any caching system that you might have from a plugin, CDN, your hosting, and even your theme in rare cases. <\/p>\n\n\n\n<p>Also, use a Private\/Incognito window in your browser to bypass its cache.<\/p>\n\n\n\n<p>They did show up for me, but they are not positioned right, as you can see.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"278\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-icons-wordpress-menu.png\" alt=\"font awesome added in wordpress menu without a plugin\" class=\"wp-image-7440\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-icons-wordpress-menu.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-icons-wordpress-menu-300x99.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-icons-wordpress-menu-768x254.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>The Font Awesome classes also affected the text&#8217;s style. <\/p>\n\n\n\n<p>This happens because the Font Awesome class is added in the tag that handles the whole WordPress menu item. So, whatever code the Font Awesome class holds, it&#8217;s passed onto the WordPress menu item as well.<\/p>\n\n\n\n<p>This type of problem might not happen to you. Or it might happen differently. It depends on your WordPress theme. <\/p>\n\n\n\n<p>Fortunately, it can be fixed with some CSS code. Unfortunately, <strong>there&#8217;s no one-size-fits-all solution<\/strong>. All I can do is to show you how I fixed my problem, hoping that in case you have an issue, it&#8217;s the same one, and you can fix it, too.<\/p>\n\n\n\n<div class=\"wp-block-group rs-cta has-background\" style=\"background-color:#fafaff\"><div class=\"wp-block-group__inner-container\">\n<p class=\"has-large-font-size\"><strong>Looking for an All-in-One WordPress Solution?<\/strong><\/p>\n\n\n\n<p>ReadyShip offers you ready-made WordPress sites and blogs, plus high-quality managed AWS hosting with free SSL and CDN, at <strong>no initial cost!<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link\" href=\"https:\/\/readyship.co\/products\">Visit Marketplace<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2 id=\"fixing-issues\">Fixing the Font Awesome Icons in the WordPress Menu<\/h2>\n\n\n\n<p>To fix the issues that I got, I used some CSS code. You can use it, too, if you have the same problem.<\/p>\n\n\n\n<p>Here&#8217;s a tutorial that I wrote on <a href=\"https:\/\/readyship.co\/blog\/add-custom-css-wordpress\/\">how to add custom CSS in WordPress using different methods<\/a>. <\/p>\n\n\n\n<p>I&#8217;ll be using the WordPress Customizer to add the CSS code. You&#8217;ll find that by going to <strong>Appearance<\/strong> &gt; <strong>Customize<\/strong> &gt; <strong>Additional CSS<\/strong>.<\/p>\n\n\n\n<p>To bring the Font Awesome icons on the same row with the WordPress menu items, I used this code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* Add Font Awesome icons on the same row as menu items *\/\n.main-navigation li.fas {\n\tdisplay: flex;\n\talign-items:center;\t\n}<\/code><\/pre>\n\n\n\n<p>What&#8217;s between <code>\/* *\/<\/code> are commentaries, so I can know what&#8217;s the code for. I recommend that you do the same. You&#8217;ll be thanking yourself in the future.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"266\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/aligning-font-awesome-icons-wordpress-menu-items.png\" alt=\"aligning font awesome icons with wordpress menu items\" class=\"wp-image-7443\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/aligning-font-awesome-icons-wordpress-menu-items.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/aligning-font-awesome-icons-wordpress-menu-items-300x95.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/aligning-font-awesome-icons-wordpress-menu-items-768x243.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>As you can see, it aligned them nicely.<\/p>\n\n\n\n<p>Now, to bring back my initial font family and weight for the WordPress menu, I added this code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* Font Awesome classes changed the menu items' style. Changing it back *\/\n.main-navigation li a {\n\tfont-family: 'Montserrat';\n\tfont-weight: 300;\n}<\/code><\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"267\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/changing-wordpress-menu-style.png\" alt=\"fixing wordpress menu item style after adding font awesome icons\" class=\"wp-image-7446\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/changing-wordpress-menu-style.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/changing-wordpress-menu-style-300x95.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/changing-wordpress-menu-style-768x244.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>As you can see, they look different now. Back to normal.<\/p>\n\n\n\n<p>Of course, your WordPress theme might use another font family and weight. You&#8217;ll need to find them out, most likely from your theme settings.<\/p>\n\n\n\n<p>If the theme settings are of no help, you&#8217;ll need some basic CSS knowledge, as well as knowing how to use the browser&#8217;s Inspect Element feature.<\/p>\n\n\n\n<p>Or, if your theme developers are nice and helpful, you could ask them about the font and weight.<\/p>\n\n\n\n<h2 id=\"customization\">Customizing the Font Awesome Icons in the WordPress Menu<\/h2>\n\n\n\n<p>Your Font Awesome Kit also offers you some styling options, such as spacing, coloring, rotating, and more. You can find them in your Kit, under the <strong>Add Some Styles<\/strong> section. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"220\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-kit-style.png\" alt=\"font awesome kit styles\" class=\"wp-image-7449\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-kit-style.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-kit-style-300x79.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-kit-style-768x201.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><\/figure><\/div>\n\n\n\n<p>Each of those provides more classes that you can use in addition to the icon class that you added in the menu item field, in WordPress.<\/p>\n\n\n\n<p>So, if you click on Sizing, you&#8217;ll find out that there are several additional classes that you can use to resize your Font Awesome icons in the WordPress menu.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"840\" height=\"677\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/sizing-font-awesome-icons.png\" alt=\"\" class=\"wp-image-7451\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/sizing-font-awesome-icons.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/sizing-font-awesome-icons-300x242.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/sizing-font-awesome-icons-768x619.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><figcaption>Examples of icon sizing from Font Awesome<\/figcaption><\/figure><\/div>\n\n\n\n<p>Note that <strong>some classes are available only for Pro users<\/strong>.<\/p>\n\n\n\n<p>So, to make a Font Awesome icon large, for example, you&#8217;ll need to use the <code>fa-lg<\/code> class. That class, in addition to the main Font Awesome class that you added, will result in this, in WordPress:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>fas fa-home fa-lg<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"753\" height=\"563\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-multiple-classes-wordpress-menu-2.png\" alt=\"multiple font awesome classes added in the wordpress menu\" class=\"wp-image-7455\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-multiple-classes-wordpress-menu-2.png 753w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/font-awesome-multiple-classes-wordpress-menu-2-300x224.png 300w\" sizes=\"(max-width: 753px) 100vw, 753px\" \/><\/figure>\n\n\n\n<p>Of course, you can further customize the icons based on your preference by using custom CSS. You don&#8217;t have to limit yourself to the pre-made classes offered by Font Awesome. <\/p>\n\n\n\n<p>For example, since some coloring classes are only available for Pro users, and it doesn&#8217;t actually involve colors anyway, you can change it yourself.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/* Styling Font Awesome icons in the menu *\/\n.main-navigation li.fas {\t\n\tcolor: #ff0000; \/* Making the icons red *\/\n}\n<\/code><\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" width=\"840\" height=\"277\" src=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/change-color-font-awesome-icons-wordpress-menu.png\" alt=\"Changing the color of the Font Awesome icons to red with CSS\" class=\"wp-image-7460\" srcset=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/change-color-font-awesome-icons-wordpress-menu.png 840w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/change-color-font-awesome-icons-wordpress-menu-300x99.png 300w, https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/change-color-font-awesome-icons-wordpress-menu-768x253.png 768w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><figcaption>Changing the color of the Font Awesome icons to red<\/figcaption><\/figure><\/div>\n\n\n\n<p>If you know some basic CSS, you&#8217;re gucci.<\/p>\n\n\n\n<div class=\"wp-block-group rs-cta has-background\" style=\"background-color:#fafaff\"><div class=\"wp-block-group__inner-container\">\n<p class=\"has-large-font-size\"><strong>Looking for an All-in-One WordPress Solution?<\/strong><\/p>\n\n\n\n<p>ReadyShip offers you ready-made WordPress sites and blogs, plus high-quality managed AWS hosting with free SSL and CDN, at <strong>no initial cost!<\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link\" href=\"https:\/\/readyship.co\/products\">Visit Marketplace<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2>The End<\/h2>\n\n\n\n<p>That&#8217;s it, folks! That&#8217;s how you add Font Awesome icons to your WordPress menu without a plugin. <\/p>\n\n\n\n<p>You set up the Font Awesome Kit, add the code snippet, enable CSS classes for the WordPress menu, then add the Font Awesome icon classes.<\/p>\n\n\n\n<p>Unfortunately, some issues with styling might appear, so you&#8217;ll need to get your hands dirty some more by tweaking things with some custom CSS code.<\/p>\n\n\n\n<p>Adding things manually usually requires a bit more work than using a plugin. So, if you&#8217;re a complete beginner to WordPress, CSS, and all that jazz, you might need to rely on a plugin.<\/p>\n\n\n\n<p>If you have questions or thoughts, feel free to leave a comment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adding icons to your WordPress menu can improve the design, user experience, and even conversions because visuals can grab the users&#8217; attention. One of the best ways to achieve this is to use Font Awesome, which is a well-known platform that provides a lot of quality icons that you can add to your WordPress menu and other places. Font Awesome also makes it easier to implement their icons in your WordPress website, with or without a plugin. In this step-by-step tutorial, I&#8217;ll take the latter approach. I&#8217;ll show you how to add Font Awesome icons to your WordPress menu without a plugin. It&#8217;s a little bit more advanced, but I&#8217;ll [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":7465,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"kt_blocks_editor_width":""},"categories":[18],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add Font Awesome Icons to WordPress Menu without a Plugin : Ready-Made WordPress Marketplace - ReadyShip<\/title>\n<meta name=\"description\" content=\"Find out how to set up a Font Awesome Kit, add icons to your WordPress menu, customize them, and fix potential issues!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/readyship.co\/blog\/add-font-awesome-icons-wordpress-menu-no-plugin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Font Awesome Icons to WordPress Menu without a Plugin : Ready-Made WordPress Marketplace - ReadyShip\" \/>\n<meta property=\"og:description\" content=\"Find out how to set up a Font Awesome Kit, add icons to your WordPress menu, customize them, and fix potential issues!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/readyship.co\/blog\/add-font-awesome-icons-wordpress-menu-no-plugin\/\" \/>\n<meta property=\"og:site_name\" content=\"Ready-Made WordPress Marketplace - ReadyShip\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ReadyShip\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-10T05:34:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-10T05:34:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/icons.png\" \/>\n\t<meta property=\"og:image:width\" content=\"980\" \/>\n\t<meta property=\"og:image:height\" content=\"551\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@readyshipco\" \/>\n<meta name=\"twitter:site\" content=\"@readyshipco\" \/>\n<meta name=\"twitter:label1\" value=\"Written by\">\n\t<meta name=\"twitter:data1\" value=\"Radu\">\n\t<meta name=\"twitter:label2\" value=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" value=\"10 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/readyship.co\/blog\/#organization\",\"name\":\"Readyship\",\"url\":\"https:\/\/readyship.co\/blog\/\",\"sameAs\":[\"https:\/\/www.facebook.com\/ReadyShip\",\"https:\/\/twitter.com\/readyshipco\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/readyship.co\/blog\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2019\/01\/readyship_logo_icon.png\",\"width\":201,\"height\":201,\"caption\":\"Readyship\"},\"image\":{\"@id\":\"https:\/\/readyship.co\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/readyship.co\/blog\/#website\",\"url\":\"https:\/\/readyship.co\/blog\/\",\"name\":\"Readship: WordPress Websites with the Best Hosting\",\"description\":\"Buy\/Sell Subscription Marketplace of beautiful designed WordPress sites with managed hosting, SSL, CDN, 24\/7 supports.\",\"publisher\":{\"@id\":\"https:\/\/readyship.co\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/readyship.co\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/readyship.co\/blog\/add-font-awesome-icons-wordpress-menu-no-plugin\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/readyship.co\/blog\/wp-content\/uploads\/2021\/06\/icons.png\",\"width\":980,\"height\":551,\"caption\":\"icons\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/readyship.co\/blog\/add-font-awesome-icons-wordpress-menu-no-plugin\/#webpage\",\"url\":\"https:\/\/readyship.co\/blog\/add-font-awesome-icons-wordpress-menu-no-plugin\/\",\"name\":\"How to Add Font Awesome Icons to WordPress Menu without a Plugin : Ready-Made WordPress Marketplace - ReadyShip\",\"isPartOf\":{\"@id\":\"https:\/\/readyship.co\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/readyship.co\/blog\/add-font-awesome-icons-wordpress-menu-no-plugin\/#primaryimage\"},\"datePublished\":\"2021-06-10T05:34:51+00:00\",\"dateModified\":\"2021-06-10T05:34:54+00:00\",\"description\":\"Find out how to set up a Font Awesome Kit, add icons to your WordPress menu, customize them, and fix potential issues!\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/readyship.co\/blog\/add-font-awesome-icons-wordpress-menu-no-plugin\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/readyship.co\/blog\/add-font-awesome-icons-wordpress-menu-no-plugin\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/readyship.co\/blog\/add-font-awesome-icons-wordpress-menu-no-plugin\/#webpage\"},\"author\":{\"@id\":\"https:\/\/readyship.co\/blog\/#\/schema\/person\/092d749a9bb9e9cb2af8f2532d8e5b45\"},\"headline\":\"How to Add Font Awesome Icons to WordPress Menu without a Plugin\",\"datePublished\":\"2021-06-10T05:34:51+00:00\",\"dateModified\":\"2021-06-10T05:34:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/readyship.co\/blog\/add-font-awesome-icons-wordpress-menu-no-plugin\/#webpage\"},\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/readyship.co\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/readyship.co\/blog\/add-font-awesome-icons-wordpress-menu-no-plugin\/#primaryimage\"},\"articleSection\":\"WordPress Tutorials\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/readyship.co\/blog\/add-font-awesome-icons-wordpress-menu-no-plugin\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/readyship.co\/blog\/#\/schema\/person\/092d749a9bb9e9cb2af8f2532d8e5b45\",\"name\":\"Radu\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/readyship.co\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fb19726677ad7e3b932bf8b0d9ac7094?s=96&d=mm&r=g\",\"caption\":\"Radu\"},\"description\":\"Hey! I'm Radu, and I've been working with WordPress at personal and professional levels for over 8 years now. I'm a seller on ReadyShip, and I'm also writing posts for their blog, which I hope you'll like. You can find more about me at Radu.link. I'm also quietly on Twitter @RaduWP.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/posts\/7396"}],"collection":[{"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/comments?post=7396"}],"version-history":[{"count":2,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/posts\/7396\/revisions"}],"predecessor-version":[{"id":7487,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/posts\/7396\/revisions\/7487"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/media\/7465"}],"wp:attachment":[{"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/media?parent=7396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/categories?post=7396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/readyship.co\/blog\/wp-json\/wp\/v2\/tags?post=7396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}