[WordPress] 外掛分享: WP sIFR

首頁外掛目錄 › WP sIFR
50+
安裝啟用
尚無評分
6205 天前
最後更新
問題解決
WordPress 2.5+ v0.6.8.1 上架:2009-03-03

內容簡介

0.6.8.1 增加了非常需要的功能。現在建議您將字型資料夾移至主題中,這樣升級時便不會覆蓋字型。它還修復了 0.6.8 版本中當您將 SWF 檔案存儲在主題中時,可能會發生的標頭參考問題。

0.6.6 修復了一個小變更,導致一些服務器停止運作。如果您的問題仍然存在,請升級到最新版本。

重要的升級資訊

如果您使用 WordPress 內置的升級系統,它將刪除您的字型,除非您將字型資料夾移至主題中。WP sIFR 將自動查看新位置,並且不會丟失任何設置。如果確實覆蓋了字型,下一次訪問設置頁面時,您的設置將被刪除。如果您意外刪除了字型,請在訪問設置頁面之前將其替換。這是我們下一個版本的主要問題之一。

WP sIFR

WP sIFR 的創建旨在使在 WordPress 網站上獲得自定義字型變得簡單。使用 WP sIFR,您只需將 SWF 字型檔案上傳到外掛目錄中,然後登錄、啟用它並在設置面板中配置其樣式即可。

WP sIFR 的優點

可在子頁面上運作
後端代碼與設置簡單
在 WordPress 管理員之外不需要進行任何自定義
在不到五分鐘的時間內讓您的網站可以使用新字型
防止使用 Firefox 3 的 Mac 上的廣告攔截程序(文本仍會顯示)

字型設置和刪除

目前,為了簡化字型添加和刪除,WP sIFR 在您從字型資料夾中刪除字型時會刪除所有與此字型相關的設置。這是永久性的。添加和刪除腳本會在外掛啟用時運行,以及在訪問設置面板頁面時運行。請注意:刪除字型要小心,否則可能會丟失您的設置。這將在下一個主要版本中更改。

Mac 上的 Firefox 和廣告攔截程序

WP sIFR 具有檢測使用 Firefox 3 的 Mac 和廣告攔截程序的功能。如果檢測到此配置,它將在該用戶的站點上禁用 sIFR,這意味著您的文本仍將顯示,但它不會是 sIFR 文本(類似於用戶禁用 javascript 時的情況)。它不會干擾其他Mac用戶,他們將不會使用FF3或使用未安裝Adblock的FF3。

未來功能

從這裡開始的首要任務是保存所有字型的設置,即使檔案已刪除,並允許用戶刪除不存在的字型。

第二個目標是允許用戶添加多個可單獨設置樣式的選擇器!

外掛標籤

開發者團隊

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

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

原文外掛簡介

0.6.8.1 Adds some much-needed functionality. It is now recommended that you move your fonts folder into your theme so that the fonts won’t be overwritten when you upgrade. It also fixes a 0.6.8 problem with the header reference to the SWF files when you store them in your theme.
0.6.6 Fixed a small change that caused some servers to stop working. If things stopped working for you, please upgrade to the latest version.
Important Upgrade Information
If you use WordPress’ built-in upgrade system, it will delete your fonts, unless you move your fonts folder into your theme instead. WP sIFR will automatically see the new location and no settings should be lost. If you do overwrite the fonts, your settings will be deleted the next time you visit the settings page. If you accidentally delete your fonts, replace them before going to the settings page. This is one of our main concerns for the next version.
WP sIFR
WP sIFR was created to remove the complications from getting custom fonts on a WordPress site. With WP sIFR, you only have to upload your SWF font file to the plugin directory and then login, activate it, and configure its styles all in the Settings panel.
WP sIFR benefits

Works on subpages
Simple backend code and setup
No customization necessary outside of WordPress Admin
New fonts working on your site in under five minutes
Protection against Adblock on Macs using Firefox 3 (text is still shown)

Font Settings and Deletion
Currently, to simplify font addition and removal, WP sIFR removes all settings for the removed font when you delete it from the fonts folder. This is permanent. The addition and removal script runs on plugin activation and when the Settings Panel page is visited. Be careful deleting fonts, or you could lose your settings. This will change in the next major release.
Firefox on Macs and Adblock
WP sIFR has the ability to detect against Macs using Firefox 3 with an Adblock add-on. If it detects this configuration, it will disable sIFR on your site for that user. This means that your text will still be shown, but it will not be sIFR text, like when a user has javascript disabled. It will not interfere with other Mac users who are not using FF3 or are using FF3 without Adblock.
Future Features
Number one priority from here is to save settings for all fonts even if the file gets deleted, and allow the user to delete a font that no longer exists.
Number two is to allow users to add multiple selectors that can be styled seperately!

延伸相關外掛

文章
Filter
Apply Filters
Mastodon