內容簡介
總結:這個 WordPress 外掛可在單一網站的「多個網域映射」外掛中為每個網域映射添加獨特的 favicon 支援。
1. 這個 WordPress 外掛主要提供了什麼功能?
- 給每個映射網域設置不同的 favicon
- 上傳新 favicon 或瀏覽現有媒體
- 自動在基本和映射網域之間轉換 URL
- 移除 WordPress 默認網站圖標以預防衝突
- 通過文件名查找 favicon 檔案
- 支持多種文件格式的 favicon
- 手動輸入 URL 時預覽 favicon
2. 這個外掛的版本要求是什麼?
- WordPress 5.0 或更高版本
- PHP 7.4 或更高版本
- 需要單一網站上的「多個網域映射」外掛
3. 当訪問者訪問一個映射網域時,這個外掛如何運作?
- 外掛會檢測當前的網域映射
- 檢查是否為該映射設置了自訂 favicon
- 輸出自訂 favicon 的 HTML 標籤
- 抑制 WordPress 默認的網站圖標以防止衝突
4. 外掛的管理界面提供了哪些操作按鈕?
- 上傳新檔案:從電腦上傳新的 favicon 檔案
- 瀏覽媒體:在媒體庫中選擇現有檔案
- 通過名稱搜索:當媒體瀏覽器未顯示所有檔案時,根據文件名查找特定檔案
- 轉換 URL:在基本網域和映射網域 URL 之間轉換
5. 這個外掛支持哪些 favicon 格式?建議的尺寸是多少?
- .ico:傳統 favicon 格式
- .png:現代格式,大多數情況下建議使用
- .svg:可伸縮向量格式
- .jpg/.jpeg:JPEG 影像
- .gif:GIF 影像
- 建議尺寸:16×16 或 32×32 像素
外掛標籤
開發者團隊
② 後台搜尋「Multi-Domain Favicon Manager」→ 直接安裝(推薦)
原文外掛簡介
A WordPress plugin that adds unique favicon support for each domain mapping in the Multiple Domain Mapping on single site plugin.
Plugin Repository: [https://github.com/jediconcepts/multi-domain-favicon-manager]
Support: [email protected]
Features
Unique favicons per mapped domain – Set different favicons for each of your mapped domains
Media library integration – Upload new favicons or browse existing media
Smart domain conversion – Automatically converts URLs between base and mapped domains
Conflict resolution – Removes WordPress default site icons to prevent conflicts
Search functionality – Find favicon files by filename when media browser filters them out
Multiple file format support – Works with .ico, .png, .svg, .jpg, and .gif files
Auto-preview – See favicon previews when entering URLs manually
Requirements
WordPress 5.0 or higher
PHP 7.4 or higher
Multiple Domain Mapping on single site plugin (required dependency)
How It Works
Frontend Behavior
When a visitor accesses a mapped domain:
Plugin detects the current domain mapping
Checks if a custom favicon is configured for that mapping
Outputs the custom favicon HTML tags
Suppresses WordPress default site icon to prevent conflicts
Admin Interface
The plugin adds favicon management fields to each domain mapping:
Integrates seamlessly with the existing Multiple Domain Mapping interface
Provides intuitive upload and selection tools
Shows preview of selected favicons
Validates favicon URLs automatically
Button Functions
Upload New (Blue) – Upload fresh favicon files from your computer
Browse Media (Green) – Select from existing files in your media library
Search by Name (Orange) – Find specific files by filename when media browser doesn’t show all files
Convert URL (Purple) – Convert between base domain and mapped domain URLs
File Format Support
Supported favicon formats:
.ico – Traditional favicon format
.png – Modern format, recommended for most uses
.svg – Scalable vector format
.jpg/.jpeg – JPEG images
.gif – GIF images
Recommended size: 16×16 or 32×32 pixels
