In the early web design, Windings and Webdings are the closest icon fonts we have. These fonts are replaced by conventional letters and numbers with basic symbols such as arrows and star numbers. Although they are a little clumsy and are not always visually attractive, they were completely enough at the time.
Although you can still find Wingdings and Webdings (just roll to browse the fonts available in Microsoft Word or Google Pages, you will find them), but most people now prefer to use the current available update icons. These are much more advanced, in fact, there are thousands of options, and new ones have been appearing.
This article explains what the WordPress icon and font are, where can they find them, and how to quickly and easily add them to your website content.
What is the wordpress icon and how are they used?
We all know what text fonts are: files containing letters and numbers are set in specific ways, such as Calibri, Arial, New Times Roman, Helvetica, etc.
Similarly, the icon font is a file containing the graphic symbol (icon) group instead of characters such as the letter or number. Icons usually include things related to modern life, such as social media logo, shopping cart symbols, email \”envelope\”, telephone, etc. Oh, don’t forget those inconspicuous emoticons!
The advantage of the WordPress icon for images is that they are vector graphics. This means that they can expand infinitely without reducing quality -you can magnify them to the size you want without the problem of pixels. In addition, their colors are easy to change, and compared with other image types, they are lightweight in terms of code.
Website designers particularly like iconic fonts, because they can use CSS like ordinary text to set them. style. icons are usually used to replace text, because they:
less space occupied than text, which is very important for mobile devices.
It is usually self -evident and can be understood by non -native speakers.
- Provide a larger visual impact than text
- It makes the website look easier, because a large number of text websites are not only boring, but also difficult to read.
For example, e -commerce websites often use shopping cart symbols because it can be identified immediately. Similarly, the envelope icon is usually understood as \”sending our electronic mail\”, and the telephone symbol is self -evident. If you look at the upper right corner of the WPLIFT website, you will notice the magnifying glass icon -click it to call up the search bar.
Where can I find icons and icon fonts?
There are many available WordPress icon font sources, including free and advanced. This is just a small part of it:
Font is really stick FONT AWESOME may be the most famous source of icon. This is not a coincidence, because they currently provide more than 2,000 free and more than 16,000 professional editions in 68 categories -they even have an animated version! More importantly, they are constantly adding new.
FONT AWESOME calls their icon fonts \”kit\”. You will get a tool package and access all the free icons in the free plan. You can upgrade to \”Pro\” for only $ 99 a year, including 20 tool packages and access permissions for free and advanced icons.
Try the font is really stick
Feng Tylo Fontello not only allows you to use a ready -made open source icon library to build icons, but also allow you to add your own custom SVG icon or image. In addition, Fontello has another detailed help part to guide you to create icon.
Fontello’s best point is that it is completely free.
Try Feng Tyro
icomoon allows you Icons, in addition, you can also import your icon. From this, you can create your own icon fonts in your WordPress website.
Although IComoon has a free plan, it will store everything in your browser. The disadvantage of this is that every time the browser cache is cleared, everything will be lost. You can avoid this problem by buying a payment plan, and the plan is stored in the \”project\” of your account. In addition, the paid plan (from 9 US dollars per month) includes access to high -level icons, and provides you with greater flexibility when creating icons.
The article continues below
123]
Try iComoon
Bytesize may only contain 101 icons, but this makes it ultra -lightweight, when the reduction is only 11.7kb or SVGZ, it is 3.2KB. In addition, the weight, color and size of each icon can be adjusted, and you can choose between circular or square edges.
Try the byte size
The method of using WordPress icon fonts
In order to make beginners friendly, I try to avoid using the method of using your code, CSS, or your function.php file.Correct, it may cause severe damage to your website.
Option 1 -Use the FONT AWESOME icon contained in Elementor If you use it Elements, you will get real enjoyment because the page constructifier has integrated the Font Awesome icon. This means you can access about 1,500 icons for free. In addition, if you subscribe to FONT AWESOME Pro, you can also access these contents from Elementor.
To access the icon, you only need to enter \”icon\” in the element search bar. Next, drag the icon block to any position you need in the content. Then, call the icon library by clicking the icon in the \”Edit icon\” panel:
By adjusting the \”Advanced\” and \”style\” options in the icon editor The settings in the card, you can customize the icon according to your preference. In addition, you can upload your SVG icon.
Option 2 -Use the icon font provided by Gutengbao
By default Gutenberg only contains some social icons. You can access them by entering the \”icon\” in the \”block\” search bar:
See the content of the installation below:
Click any of the new blocks that will be installed, you can access many icon fonts from it:
] You can customize the icon. First click the gear icon in the upper right corner of the screen. Next, click the \”Prevent\” tab, and then adjust the various settings displayed according to your preference:
Options 3 -Use the WordPress icon font plugin [
[ 123] Several WordPress plug -ins for helping you add the icon to your content.
In contrast, I will talk about WP FONT AWESOME. This free plug -in allows you to use simple simplicity to add and customize the FONT AWESOME icon. After installation and activation, no configuration is required. In addition, unlike FONT AWESOME plug -in, you don’t even need to register on the Font Awesome website to use it.
There are three simplified codes in WP FONT AWESOME: Pure color style: [wpfa5s icon \u003d \”home\” size \u003d \”3x\” color \”#336699 ″]
123] Conventional style (supported by limited icons) [wpfa5r icon \u003d \”user\” color \u003d \”red\”]
Brand: [wpfa5b icon \u003d \”wordpress\” size \u003d \”5x\” color \u003d \”#3B5998 ″ ].
You can change the icon type, size, and color by replacing the content in each group quotation marks. For example, I will create three icons, as shown below:
Pure -color car icon, a solid car icon,, a solid car icon, a solid car icon,, a solid car icon, a solid car icon,, a solid car icon, a solid car icon,, the pure color car icon,, the solid car icon, the pure color car icon,,, the pure color car icon, the pure color car,, The size is 10 times, the color is orange
- address card icon, the size is 5x, the color is red
- Federal express logo, the size is 3X, the color is purple, but this time it is ten for ten Hexagonal color code.
Below is a screenshot, which shows the short code inserted into the post using a short code in Gutenberg:
Three completion The icon looks like this: To obtain the hexadecimal code of the color, you can use htmlcolorCodes.com and other websites. If you want to choose the color from the image, use things like ImageColorPicker.com to get the corresponding hexadecimal code. You can find the name of each icon on the FONT AWESOME website, although you can usually guess itMany of them.
WP FONT AWESOME allows you to place the icon almost anywhere on the website, including menu, small components, posts, pages and title.
icon font and website speed
There is a disadvantage to use the icon font on your website: the additional bloating they brings may affect the speed.
Another reason for the icon font to affect the performance of the site is that loading from multiple CDNs is obviously slower than loading from one CDN. This is because multiple HTTP/2 connections and a large number of DNS search, all of which will greatly slow down.
If you are very worried that the icon font will slow down your website, then install them locally on your own CDN or WordPress host server may be the best choice. This will allow you to choose only the required icons, which greatly reduces the size of the overall file. In addition, you will be able to choose icons from several different icon libraries.
Visit the WPLift article \”
How to get a local google font (or other fonts in WordPress!)\” To obtain a step -by -step tutorial on how to perform this operation. Conclusion