[WordPress] 外掛分享: Specific Files

首頁外掛目錄 › Specific Files
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
4266 天前
最後更新
問題解決
WordPress 3.0.0+ v1.3.2 上架:2010-12-10

內容簡介

這個外掛讓你能夠選擇在特定的文章、頁面或其他文章類型中引用指定的 CSS 或 JS 檔案,而非全站套用。你也可以直接在特定的文章或頁面編輯內嵌 CSS 和 JS,或者從任何地方引用 CSS 和 JS 檔案。

這個外掛會在 WordPress 文章編輯器中放置 meta box,讓你輕鬆選擇要在目前正在編輯的文章中引用哪些檔案。這個外掛適用於各種大小的網站,並且可以正常運作於 WordPress 多站 (WordPress MU)。已經測試至 WordPress 3.1 beta 2。

更多相關資訊、評論和疑問,請參閱我個人網站上這個外掛的 頁面。歡迎提供改進意見和修補程式!如果你喜歡這個外掛,請考慮捐款或說聲謝謝。

待辦事項:

在設定頁面新增「移除引用」按鈕,讓使用者可以在無須刪除檔案的前提下移除檔案參考。

外掛標籤

開發者團隊

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

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

原文外掛簡介

With this plugin, you will be able to include certain CSS or JS files in only selected posts, pages, or other post types, instead of including them everywhere. You can also edit inline CSS & JS and include CSS & JS files from anywhere on specific posts and pages.
It places meta boxes in the WordPress post editor so it’s easy to select which files you want to include with the post you’re currently editing. This plugin works well for all websites, large and small, and it works well with WordPress multi-site (WordPress MU). Tested up to 3.1 beta 2.
See this plugin’s page on my website for information/comments/questions. I am open to the idea of suggestions and patches to this plugin! If you enjoyed this plugin, please donate or say thanks.
Todo:

Add a “remove references” button on the options page so people can remove file references without having to delete the file.

延伸相關外掛

文章
Filter
Mastodon