跳到内容

Ably Custom Icon Field for ACF

v2.0.7

ablyperu · 2026年8月20日 上架

Ably Custom Icon Field for ACF adds a visual custom field for selecting uploaded icon classes in Advanced Custom Fields (ACF).

正在使用
10+
评分
暂无
累计下载
476
最近更新
2026年10月6日
需要 WordPress 5.0+已测试到 7.0.9PHP 7.4+

贡献者

Ably Custom Icon Field for ACF adds a custom field type for Advanced Custom Fields (ACF) with a visual icon picker:

  • Visual grid: Display imported icons in a searchable modal.
  • Live search: Filter icons by label or CSS class.
  • Multiple collections: Import, review, and remove multiple IcoMoon ZIP collections.
  • Safe field values: Validate selected icon classes against the available icon list.

External icon fonts

External icon libraries are optional. The plugin does not bundle third-party icon fonts. Administrators may provide authorized CDN URLs in the plugin settings and are responsible for complying with the applicable license terms.

Usage

  1. Go to ACF > Field Groups.
  2. Add a field and select the “Ab Icon” field type.
  3. Choose the return format: CSS class or HTML.

In templates

Class format:
php
<?php $icon = get_field('my_icon'); ?>
<i class="<?php echo esc_attr($icon); ?>"></i>

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums