Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

Better Font Awesome

Descrizione

Do you find this plugin helpful? Please consider leaving a 5-star review.

Better Font Awesome allows you to automatically integrate the latest available version of Font Awesome into your WordPress project, along with accompanying CSS, shortcodes, and TinyMCE icon shortcode generator.

Funzionalità

  • Always up-to-date – automatically fetches the most recent available version of Font Awesome, meaning you no longer need to manually update the version included in your theme/plugin.

  • Backwards compatible – shortcode output is automatically updated depending on which version of Font Awesome you choose, meaning that you can switch versions without having to modify your shortcodes.

  • Compatible with other plugins – designed to work with shortcodes generated with plugins like Font Awesome Icons, Font Awesome More Icons, and Font Awesome Shortcodes, so you can switch to Better Font Awesome and your existing shortcodes will still work.

  • CDN speeds – Font Awesome CSS is pulled from the super-fast and reliable jsDelivr CDN.

  • Shortcode generator – includes an easy-to-use TinyMCE dropdown shortcode generator.

Impostazioni

All settings can be adjusted via Settings → Better Font Awesome.

Utilizzo

Better Font Awesome can be used in 3 different ways: shortcode, HTML, and TinyMCE

1. Shortcode

[icon name="flag" class="2x spin border" unprefixed_class="my-custom-class"]

Note that prefixes (fa- and icon-) are not required, but if you do include them things will still work just fine! Better Font Awesome is smart enough to know what version of Font Awesome you’re using and correct of the appropriate prefix.

Questo significa che funzioneranno tutti gli shortcode dell’elenco seguente, indipendentemente dalla versione di Font Awesome che scegli:
[icon name=”flag” class=”2x spin border”]
[icon name=”icon-flag” class=”icon-2x icon-spin icon-border”]
[icon name=”fa-flag” class=”fa-2x fa-spin fa-border”]
[icon name=”icon-flag” class=”fa-2x spin icon-border”]

You can read more about shortcode usage on Github

2. TinyMCE

Better Font Awesome also provides you with an easy-to-use drop down menu when editing in TinyMCE’s visual mode. Check out our Screenshots to see what it looks like.

3. HTML

Note that prefixes are required for HTML usage, and are version-specific. For this reason, shortcode usage is encouraged over HTML. If you do want to use HTML, however, you can read more on the Font Awesome site.

Advanced / Integration

Better Font Awesome is built around the Better Font Awesome Library. This library allows you to integrate Better Font Awesome into any custom project you want to create (perhaps a theme or plugin with a constantly up-to-date icon list), and includes all the filters you might need.

Languages / Translations

Riconoscimenti

Many thanks to the following plugins and their authors:

And many thanks to the following folks who helped with testing and QA:

Screenshot

  • The icon shortcode dropdown selector
  • Better Font Awesome settings, accessed via Impostazioni → Better Font Awesome

Installazione

Questa sezione descrive come installare il plugin e farlo funzionare.

  1. Upload Better Font Awesome to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. That’s it! Now you can use 3 different methods (shortcode, HTML, TinyMCE) to insert Font Awesome icons, all outlined in the Description section.

FAQ

In cosa questo plugin si distingue dagli altri plugin Font Awesome?

Questo plugin ha la caratteristica unica di scaricare automaticamente tutte le versioni disponibili di Font Awesome. Ciò vuol dire che non dovrai più aspettare che lo sviluppatore del plugin aggiunga l’ultima versione. Inoltre, Better Font Awesome è progettato per funzionare con una varietà di formati di shortcode utilizzati da altri plugin Font Awesome – in modo che si possa passare più facilmente a Better Font Awesome (per esempio, se hai bisogno di includere le icone dalla versione più recente di Font Awesome, che non sempre è disponibile con altri plugin), in modo che gli shortcode continuino a funzionare dopo il passaggio.

Mi serve installare dei file per i font?

No. Better Font Awesome scarica automaticamente tutto quello che serve, e lo fa dalla CDN superveloce jsDelivr.

Che succede nel caso abbia un altro plugin o tema che utilizza Font Awesome?

Better Font Awesome cerca di fare il possibile per caricarsi dopo un CSS Font Awesome esistente, in modo da minimizzare la possibilità di conflitti. Se riscontri comportamenti inattesi risultanti da conflitti con plugin/temi, puoi provare a spuntare la casella “Rimuovi gli stili Font Awesome esistenti” in Impostazioni → Better Font Awesome.

Recensioni

13 Gennaio 2022
1. It is not really compatible with font-awesome official plugin. I have this shortcode [icon name="fort-awesome" prefix="fab"] but not rendered correctly in this plugin. 2. There is only one version available while the screenshot showing version select box which make me understand that there are multiple versions to use. It is okay to use latest but just update screenshot please. 3. FAQ said there is checkbox Remove existing Font Awesome styles but there is not. The only remove I see is Attempt to remove Font Awesome CSS and shortcodes added by other plugins and themes which is very unclear that it will be mess up my post data or not. 4. They use only CDN, no local file option available. If I have to install a site in local network without internet access then this will be dead end. To be fair, this choice is not negative or positive but just my comment. 5. This plugin leave junk in my DB. The option name better-font-awesome_options still exists after uninstalled. The WordPress document is recommended to clean up the data on uninstall. Read more at Plugin Handbook / Plugin Basics / Uninstall Methods
5 Maggio 2021
Something simple like [icon name="facebook-f"] And nope - sh*t plugin. Do NOT recommend it. Here is what worked for me despite older and less updated plugin - works better than this plugin: WP SVG Icons
17 Febbraio 2021
Nach dem Update fehlerhaft - seit über einer Woche nicht nachgebessert. Keine Reaktion. Miserabler Support! Buggy after update - not fixed for more than one week now. No reaction. Very bad support!
7 Febbraio 2021
I hate to say it, this used to be a great plugin for Font Awesome, but not anymore. AVOID IT! WordPress 5.6x killed it and the author shows no interest in fixing it. The plugin's current version does not work. None of the betas work.
Leggi tutte le recensioni di 83

Contributi e sviluppo

“Better Font Awesome” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

“Better Font Awesome” è stato tradotto in 16 lingue. Grazie ai traduttori per i loro contributi.

Traduci “Better Font Awesome” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

2.0.1

  • Bugfix: add necessary @font-face mappings to ensure site-specific CSS and pseudo-elements render correctly

2.0.0

  • Add support for Font Awesome v5
  • Integration with Font Awesome GraphQL API for all data fetching (improve performance)
  • Integrate with Font Awesome CDN for all CSS
  • Add option to include the v4 Font Awesome CSS shim to support older icons (default on for upgrades)
  • Updatee hard-coded fallback Font Awesome version
  • Modify version check frequency to a saner 24 hour interval
  • Ensure admin notices are dismissible
  • Lower data fetch timeout to mitigate performance risks
  • Remove legacy options that are no longer relevant (version select, minification opt-out)
  • Add more/better unit tests to ensure things are working as expected

1.7.6

  • Fix: revert to 1.7.4 codebase.
  • Fix: remove calls to ready() jQuery method to support latest jQuery versions.

1.7.5

(BAD BUILD)
* Fix: remove calls to ready() jQuery method to support latest jQuery versions.
* Fix: update fontawesome-iconpicker dependency to repair broken icon select functionality.

1.7.4

  • Fix: revert accidental bump to underlying Better Font Awesome Library dependency.

1.7.3

  • Add admin notice to invite beta testers.

1.7.2

  • Bump “tested up to” value to 5.5.

1.7.1

  • Fix functionality to hide/show admin notices.

1.7.0

  • Update fallback Font Awesome to v4.7.0.
  • Switch from using git submodules to composer dependency management for core library inclusion.