GS ACF Icons
v0.1.3Andreas · 2021年10月20日 上架
The ACF icon plugin adds a new field to ACF that enables users to select an icon from a popup.
- 正在使用
- 100+
- 评分
- 暂无
- 累计下载
- 2,405
- 最近更新
- 2021年10月20日
贡献者
截图
The ACF icon plugin adds a new field to ACF that enables users to select an icon from a popup.
It works with ACF Repeater fields.
It supports both font icons and SVG icons. You can select if the field should return
* CSS class
* SVG url fragment
* SVG file path
* SVG raw (the SVG markup)
You cannot limit to certain icons or add new icon providers as of writing which is version 0.1.3.
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.
Supported icons are Font Awesome 5 Free, Ionicons and Elementor Icons.


