De officiële manier om Font Awesome Free of Pro pictogrammen op je site te gebruiken, aangeboden door het Font Awesome team.
Beoordelingen
3.7
Laatst bijgewerkt
June 10, 2024
Versie
4.5.0
Actieve installaties
400K
Font Awesome

De officiële manier om Font Awesome Free of Pro pictogrammen op je site te gebruiken, aangeboden door het Font Awesome team.

Functies

Our official plugin lets you use Font Awesome the way you want:

  • Gebruik Pro of Free iconen.
  • Leverage the latest release or a specific version of our icons.
  • Kies de technologie, SVG of Web Font.
  • Take your pick of loading your icons from our classic Font Awesome CDN, or use Font Awesome Kits – the easiest and most efficient way to use Font Awesome icons on the web.
  • Schakel automatische compatibiliteit in voor Font Awesome versie 4 als je – of je plugins – nog steeds de syntaxis van versie 4 gebruiken.
  • Problemen oplossen wanneer meerdere versies van Font Awesome op je site worden geladen vanuit andere plugins/thema’s, die onverwachte pictogramweergave of technische problemen kunnen veroorzaken.
  • Make things even awesomer using icons from Font Awesome Version 6.
  • Gebruik je geüploade pictogrammen uit je Pro Kits.

Hoe te gebruiken

Installeer en schakel de plugin in (Zie het tabblad Installatie voor details)

Voeg pictogrammen toe aan je pagina’s en berichten Pictogrammen toevoegen werkt zowel in de blokeditor als in de klassieke editor.

Once you’ve set up your plugin, you can search and add icons to your pages and posts by choosing the Font Awesome option in the format bar from any text block to open the Icon Chooser. (If you want to search and add Pro icons in the Icon Chooser, you’ll need to use a Pro Kit.)

Or you can use the icon names in shortcodes or HTML. When you use shortcodes, you add the name of the icon and a prefix, where the prefix is the style of icon you want to use. Note that you don’t need to include the fa- part of the name. And if you don’t include any prefix, the icon will default to the Solid style.

De shortcode voor een pictogram ziet er als volgt uit:

[icon name="stroopwafel"] [icon name="stroopwafel" prefix="fal"]

Get the details on all the shortcode options in the Font Awesome WordPress docs.

Je kunt ook eenvoudige HTML gebruiken met standaard Font Awesome-syntaxis, zoals dit:

<i class="fas fa-stroopwafel"></i>

Using Pro Icons and Features To use a Kit, create a Kit on FontAwesome.com and select “Pro icons” in the settings. Then grab your API Token from your Font Awesome account page to add into the WordPress Kit settings.

Om Pro pictogrammen met het CDN toe te voegen, moet je je domein toevoegen aan de lijst met toegestane domeinen op je Font Awesome account CDN instellingenpagina en gebruik shortcodes of HTML om de pictogrammen aan je inhoud toe te voegen.

If you’re using the Icon Chooser, you’ll need to use a Pro Kit. (The CDN can only search and add Free icons – use shortcodes or HTML to add Pro icons when using the CDN).

Problemen oplossen met de plugin Font Awesome pictogrammen zijn populair, dus veel thema’s en plugins laden Font Awesome ook, en soms kan hun versie conflicteren met die van jou. Daarom hebben we een manier ontwikkeld om je te helpen bij het vinden en voorkomen dat conflicterende versies je pictogrammen beïnvloeden: De conflictdetectiescanner.

If the plugin seems to be set up correctly and your icons still aren’t loading and you’re not sure why, head over to the Troubleshoot tab, which has two parts:

  • Conflicten detecteren met andere versies van Font Awesome – waarmee je de scanner voor conflictdetectie kunt starten om versies van Font Awesome te vinden die op je site worden geladen.
  • Versies van Font Awesome actief op je site – die de resultaten van de scanner toont en waarmee je kunt voorkomen dat conflicterende versies andere versies van Font Awesome op je site laden.

Get more information about using the scanner for troubleshooting on the Font Awesome WordPress docs.

Configureren

De plugin is standaard ingesteld om Font Awesome Free pictogrammen als een weblettertype via het Font Awesome CDN te gebruiken. Je kunt de CDN instellingen rechtstreeks in de plugin wijzigen. Als je alleen de standaard gratis pictogrammen wilt, hoef je waarschijnlijk geen wijzigingen aan te brengen in de standaardconfiguratie.

Je kunt meer informatie krijgen over alle beschikbare instellingen en probleemoplossing in de Font Awesome WordPress-documenten.

Upgraden van de oude versies

If you used the old plugin or are still using Version 3 of Font Awesome, we’ve tried to smooth the upgrade path for you by keeping [icon] shortcode compatibility for Font Awesome 3 names used with the old plugin. But we plan to remove version 3 naming support from this plugin soon so don’t wait too long to update your code!

Bekijk ook

De README op GitHub heeft details voor WordPress site eigenaren en ontwikkelaars.

En er zijn API-documenten voor ontwikkelaars.

Gratisop Creator abonnement
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Actieve installaties
400K
Getest tot
6.5.4
Deze plugin kan worden gedownload, zodat je hem op je zelf-gehoste WordPress-installatie kan gebruiken.