[WordPress] 外掛分享: Include Custom Files

首頁外掛目錄 › Include Custom Files
10+
安裝啟用
尚無評分
5790 天前
最後更新
問題解決
WordPress 2.9+ v1.0 上架:2010-05-11

內容簡介

這個外掛可以讓您在每篇文章中嵌入多個 CSS 和 JavaScript 檔案。
多個檔名應以「,」分隔。在「,」前後額外的空白將自動忽略。
檔案的相對路徑會自動加上 /css 或 /js 的前綴。您可以透過編輯插件檔案中的 $css_folder 和 $js_folder 變數的值來自訂這些設定。
絕對路徑將直接熱連結。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Include Custom Files」→ 直接安裝(推薦)

原文外掛簡介

This plugin enables embedding of multiple stylesheets and javascript files on a per-post basis.
Multiple file names should be separated by a ‘,’. Extra whitespace after and before a ‘,’ are automatically ignored.
Relative paths to files are automatically prefixed by the /css or /js. These settings can be customized by editing values of the variables $css_folder and $js_folder in the plugin file.
Absolute paths are directly hotlinked.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon