這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Per Post Scripts & Styles

描述

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

安裝

  1. Upload the per-post-scripts-and-styles folder to /wp-content/plugins/ on your server
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Customize the settings you want from the ‘Per Post Scripts & Styles’ Settings submenu
  4. Add scripts and stylesheet URLs directly to posts from the edit post page.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Per Post Scripts & Styles” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Per Post Scripts & Styles 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2

  • Add support for THEME_URL

1.1

  • Add the ability to include a footer script block
  • Add support for WordPress 3.3
  • Add support for child themes

1.0.1

  • Fix a bug where meta boxes weren’t properly showing up on custom post type edit pages

1.0

  • First publicly released version