內容簡介
此外掛可以安全地為單獨的文章、頁面和自訂文章類型添加特定的 JavaScript 和 CSS 樣式表。
功能:
使用%HOME_URL%、%SITE_URL%和%THEME_URL%變數生成動態 URL
支援腳本依賴和檢查腳本重複性
可以選擇在 header 或 footer載入腳本
將腳本附加到文章、頁面和自訂文章類型
在單獨文章頁面以及這些文章所在的所有其他頁面上載入附加的腳本和樣式表
完整的文件請參見philipwalton.com
外掛標籤
開發者團隊
原文外掛簡介
Properly and safely add specific Javascript and CSS stylesheets to single posts, pages, and custom post types.
Features:
Dynamic URLs with %HOME_URL%, %SITE_URL%, and %THEME_URL% variables
Script dependency support as well as script duplication checking
The option to load scripts in either the header and footer
Attach scripts to posts, pages, and custom post types
Load attached scripts and styles not just on that post’s page, but on the home page or any other page where that post is displayed.
For complete documentation, visit philipwalton.com
