[WordPress] 外掛分享: FA WP Admin Menu Icons

前言介紹

  • 這款 WordPress 外掛「FA WP Admin Menu Icons」是 2017-03-24 上架。
  • 目前有 100 個安裝啟用數。
  • 上一次更新是 2024-07-18,距離現在已有 289 天。
  • 外掛最低要求 WordPress 4.4 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 8.1 以上。
  • 有 5 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

ptrkcsk |

外掛標籤

icon | icons | custom | FontAwesome |

內容簡介

在 GitHub 上查看,以獲得更好的文件

FA WP Admin Menu Icons 允許您使用 Font Awesome 圖示為 WordPress 自訂文章類型和自訂菜單頁面傳遞 Font Awesome 類字符串,就像在前端使用 Font Awesome 一樣

這裡是一個例子:

register_post_type( 'custom_post_type', [
//...
'menu_icon' => 'fas fa-thumbs-up',
//...
] );

用法
`register_post_type()`

使用 Font Awesome 類字符串來為您的自訂文章類型使用 Font Awesome 圖示,請在 register_post_type() 上使用 Font Awesome 類字符串以參數 $args['menu_icon]:

register_post_type( 'custom_post_type', [
//...
'menu_icon' => 'fa-solid fa-thumbs-up',
//...
] );

`add_menu_page()`

使用 Font Awesome 類字符串來為您的自訂菜單頁面使用 Font Awesome 圖示,請在 add_menu_page() 上使用 Font Awesome 類字符串以參數 $icon_url:

add_menu_page(
page_title: 'Custom Menu Page',
menu_title: 'Custom Menu Page',
capability: 'manage_options',
menu_slug: 'custom_menu_page',
icon_url: 'fa-solid fa-thumbs-up',
);

Custom Post Type UI 插件

使用 Font Awesome 類字符串來為添加或編輯文章類型時的菜單圖示欄位使用 Font Awesome 圖示,請使用 Custom Post Type UI 插件

注意事項

FA WP Admin Menu Icons 僅支援 Font Awesome 的 免費圖示

原文外掛簡介

View on GitHub for better documentation
FA WP Admin Menu Icons allows you to use Font Awesome icons for WordPress custom post types and custom menu pages by passing the Font Awesome class string, just like using Font Awesome on the front end
Here’s an example:
register_post_type( 'custom_post_type', [
//...
'menu_icon' => 'fa-solid fa-thumbs-up',
//...
] );

Usage
`register_post_type()`
To use a Font Awesome icon for your custom post type with register_post_type(), use a Font Awesome class string for the $args['menu_icon] parameter:
register_post_type( 'custom_post_type', [
//...
'menu_icon' => 'fa-solid fa-thumbs-up',
//...
] );

`add_menu_page()`
To use a Font Awesome icon for your custom menu page with add_menu_page(), use a Font Awesome class string for the $icon_url parameter:
add_menu_page(
page_title: 'Custom Menu Page',
menu_title: 'Custom Menu Page',
capability: 'manage_options',
menu_slug: 'custom_menu_page',
icon_url: 'fa-solid fa-thumbs-up',
);

Custom Post Type UI plugin
To use a Font Awesome icon with the Custom Post Type UI plugin, use a Font Awesome class string for the Menu Icon field when adding or editing a Post Type
Caveats
FA WP Admin Menu Icons only supports Font Awesome’s free icons

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「FA WP Admin Menu Icons」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 2.0.0 | 2.0.1 | 2.2.0 | 2.2.1 | 2.3.1 | 2.4.0 | 2.5.0 | 2.6.0 | 2.7.0 | 2.8.0 | 3.0.0 | 3.1.0 | 3.2.0 | 3.3.0 | 3.4.0 | 3.5.0 | 3.6.0 | 3.6.1 | 3.7.0 | 3.8.0 | 3.9.0 | 3.9.1 | 4.0.0 | 4.1.0 | 5.0.0 | 5.0.1 | 6.0.0 | 7.0.0 | 7.1.0 | 7.2.0 | 8.0.0 | 8.1.0 | 8.1.1 | 8.2.0 | 8.3.0 | 8.4.0 | trunk |

延伸相關外掛(你可能也想知道)

  • Font Awesome 》這是一個官方的 WordPress 外掛,讓你可以使用 Font Awesome Free 或 Pro 圖示,由 Font Awesome 團隊提供。此外掛提供以下功能:, , 使用 Pro 或 Free 的圖...。
  • Favicon by RealFaviconGenerator 》生成並設置桌面瀏覽器、iPhone/iPad、Android 設備、Windows 8 平板電腦等各種裝置的網站圖示。只需要幾秒鐘,即可設計出在所有主要平台上看起來很棒的圖示。...。
  • Better Font Awesome 》me 可以讓你自動將最新版本的 Font Awesome 及其相應的 CSS、短碼和 TinyMCE 圖示短碼生成器集成到你的 WordPress 項目中。, 功能, , 始終保持最新版本- 自動...。
  • To Top 》To Top 外掛在使用者往下捲動頁面時會新增一個浮動式的向上卷軸按鈕,預設位置在頁面右下方,當使用者點擊按鈕時可以平滑地捲回頁面頂端。若是網頁內容特別長...。
  • Icon Element – Elementor Page Builder Icon Pack (6718 icons) 》使用自訂圖示字型增強您在 Elementor 頁面建構中的體驗。, 18 個免費圖示包(共 6,718 個圖示), , Material Design - 931 個圖示, Metrize - 299 個圖示, Ca...。
  • The Icon Block 》Icon Block 外掛會註冊一個單一且易於使用的區塊,讓您可以在 WordPress 區塊編輯器 (Gutenberg) 中加入自訂的 SVG 圖示和圖形。, 該外掛還包含完整的 WordPr...。
  • Favicon Rotator 》Favicon Rotator 外掛能夠讓您輕鬆客製化您網站上的圖示。只需透過管理頁面新增 favicon,並在每次訪客訪問您的網站時展示。, 亮點, , 新功能:為觸控裝置(A...。
  • Mobile Contact Bar 》Mobile Contact Bar 是一款簡潔而高度可自定義的外掛程式,允許您的訪客直接透過手機與您聯繫,或即時存取您網站上的頁面。, 在 WordPress 管理儀表板中,設...。
  • Custom Icons for Elementor and WPBakery 》Custom Elementor Icons 是一個免費的 WordPress 外掛,讓使用者可以無限制地上傳自訂圖示到他們的網站上。, 我們想要讓你在你的 WordPress 平台上創建獨特且...。
  • Heroic Favicon Generator 》“最佳的網站圖示外掛程式” ★★★★★ - WordPress.org 使用者評論。, 簡單強大的 WordPress 網站圖示外掛程式。, 使用 Heroic Favicon Generator 快...。
  • Icon Widget 》Icon Widget 創建一個新的 WordPress 小工具,顯示圖示、標題和描述。使用易於使用的下拉選項選擇大小、顏色和文字對齊方式。, 包括的圖示字型, , Font Aweso...。
  • Site Favicon 》新增網站圖示。, 在外觀 > 自訂 > 網站身分 > 網站圖示下設置網站圖示的 URL。, 如果您想要設置一個網站圖示,但也需要另外設置一個獨特的 favicon...。
  • All-in-one contact buttons – WPSHARE247 》這個外掛可以創建一個包含熱線電話、Zalo、Facebook、Messenger和電子郵件的綜合聯繫按鈕,以提高客戶呼叫和聊天轉換率。, 您可以輕鬆自由定制按鈕的位置,左...。
  • Themify Icons 》這個外掛讓你可以輕鬆地在你的文章內容、WordPress選單和小工具標題中插入 Themify 圖示。。
  • Flat Preloader 》Flat Preloader 是一款可幫助您創建具有多個精彩 GIF 圖示的加載頁面的 WordPress 外掛。, 您可以選擇顯示加載頁面的位置,例如首頁或全部頁面。, 功能請求 ...。

文章
Filter
Apply Filters
Mastodon