[WordPress] 外掛分享: GS ACF Icons

首頁外掛目錄 › GS ACF Icons
WordPress 外掛 GS ACF Icons 的封面圖片
200+
安裝啟用
尚無評分
1611 天前
最後更新
問題解決
WordPress 5.0+ PHP 5.6+ v0.1.3 上架:2021-10-19

內容簡介

ACF icon 外掛會新增一個欄位到 ACF 中,讓使用者可以從快顯視窗中選擇圖示。
它可以與 ACF Repeater 欄位一起使用。
它支援字型圖示和 SVG 圖示。您可以選擇在欄位中回傳
* CSS 類別
* SVG URL 片段
* SVG 檔案路徑
* SVG 原始碼(SVG 標記)

截至版本 0.1.3,您無法限制圖示或新增圖示提供者。

如果您正在使用 ACF functions the_field() 中的 CSS 類別回傳格式,您需要加入所需的 CSS。
請使用 ACFIcon::get_css_handle(get_the_field(‘your-icon-field-id’)) 來檢索所選圖示的正確 CSS handle。

支援的圖示包括 Font Awesome 5 Free、Ionicons 和 Elementor Icons。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1.3) 或搜尋安裝

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

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon