[WordPress] 外掛分享: Theme-Independent Stylesheets

首頁外掛目錄 › Theme-Independent Stylesheets
10+
安裝啟用
尚無評分
2987 天前
最後更新
問題解決
v1.1.0 上架:2015-02-10

內容簡介

這個外掛讓你能夠使用上傳的 CSS 檔案,在不編輯任何佈景主題檔案或使用 FTP 的情況下,將它應用在多個佈景主題中。

例如,如果你想要在你的網站上使用 Font Awesome,但你目前使用的佈景主題並沒有包含它(或者你確定不論使用哪個佈景主題,都要使用 Font Awesome),你只需要使用 WordPress 媒體上傳工具上傳 font-awesome.css(或 font-awesome.min.css)檔案,然後在「Theme-Independent Stylesheets (TISS)」設定中啟用它。這個 CSS 檔案就會自動應用在你的網站上,不論你使用的是哪個佈景主題。即使你更換了佈景主題,這個 CSS 檔案還是會出現在你網站的 <head> 中(只要你的佈景主題有正確地使用 wp_head() 函式,大部分的佈景主題都會有使用)。

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin allows you to use uploaded CSS files that can be used across themes without having to edit any theme files or use FTP.
For example, if you wanted to use Font Awesome on your site but your current theme doesn’t include it (or you know you want to use Font Awesome regardless of what theme you’re using), you can simply upload the font-awesome.css (or font-awesome.min.css) file using the WordPress Media Uploader then activate said stylesheet in the Theme-Independent Stylesheets (TISS) settings. That CSS file will then automatically be included on your site no matter what theme you’re using. Even if you switch themes, the CSS file will still be called in your site’s (as long as the theme is coded to properly use wp_head(), which most themes are).

延伸相關外掛

文章
Filter
Apply Filters
Mastodon