[WordPress] 外掛分享: Open Icons for ACF (Lite)

首頁外掛目錄 › Open Icons for ACF (Lite)
WordPress 外掛 Open Icons for ACF (Lite) 的封面圖片
全新外掛
安裝啟用
尚無評分
17 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.0.0 上架:2026-03-25

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Open Icons for ACF (Lite)」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Open Icons for ACF (Lite) adds a custom field type to Advanced Custom Fields (ACF) that lets you select and display SVG icons from the Heroicons library. All 324 icons are bundled with the plugin — no external downloads required.
Features:

324 Heroicons – Beautiful, hand-crafted SVG icons by the makers of Tailwind CSS
Color palette – Define up to 3 color tokens and apply them to icons
Bundled locally – All icons are included in the plugin, no external requests needed
Clean output – Simple get_openicon() helper function for displaying icons
Sanitised SVGs – All icons are sanitised for security

How it works:

Add an “Open Icons” field to your ACF field group
Select an icon and color from the beautiful picker interface
Display the icon in your theme using the get_openicon() function

Display icons in your theme:
php
24, 'class' => 'my-icon']);
?>

Want more icons?
Open Icons for ACF Premium unlocks:

Lucide Icons – 1,500+ icons
Tabler Icons – 5,200+ icons
Icon migration tools when switching providers
Priority support

Development
The src/ directory contains the uncompiled React/TypeScript source code for the admin UI components.
Source code is available on GitHub:
https://github.com/davidosull/open-icons-acf-lite.git
To build from source:

Clone the repository
Run npm install
Run npm run build

This will bundle the Heroicons SVGs into assets/icons/ and compile the TypeScript/React source into assets/build/.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon