ACF Icons

It gives you the ability to use a new field type 'Icon'

The ACF Icons plugin adds a new field to Advanced Custom fields. It gives you the ability to use a new field type ‘Icon’. It also works with repeater fields. Out of the box it supports Font Awesome 5 and Ionicons. If you have Elementor plugin you can select Elementor icons as well.

The plugins works with Advanced Elements and gives you the ability to add Icon Boxes that works with ACF Repeater fields.

Supported icons are Font Awesome 5 Free, Ionicons and Elementor Icons.

If you are using ACF functions the_field() with CSS class return format you need to enqueue the required CSS.
Use ACFIcon::get_css_handle(get_the_field(‘your-icon-field-id’)) to retrieve the correct CSS handle for the selected icon.

 

Supports various returns formats

You can select 4 different return formats:

  • CSS class: The class Font Awesome for example returns “fa fa-checkbox”
  • SVG Sprite URL: The URL path to the select icon SVG.
  • SVG File Path: The file path to the select icon SVG.
  • Raw SVG: The raw data.