[WordPress] 外掛分享: Page Specific Scripts

前言介紹

  • 這款 WordPress 外掛「Page Specific Scripts」是 2019-07-02 上架。
  • 目前有 400 個安裝啟用數。
  • 上一次更新是 2020-09-30,距離現在已有 1677 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.1 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

affuxo |

外掛標籤

jquery | script | javascript | page specific jQuery | jQuery on posts pages |

內容簡介

此外掛可以幫助您僅在特定頁面和文章上增加 jQuery 和 JavaScript 代碼片段。

它也同樣適用於所有類型的自訂文章類型。每個添加到頁面或文章的腳本,只會在該特定文章上運行。

編輯頁面時,可以將腳本添加到元框中。

此外掛使用 wp_head() 行為鉤子,將代碼添加到頁面的標頭中。

大多數佈景主題使用此鉤子,因此它適用於大多數佈景主題。

已經測試過,並且與 Gutenberg 兼容。

文件和支援

您可以在此外掛網站上找到更多有關此外掛的資訊。

原文外掛簡介

This plugin helps you add jQuery and Javascript code snippets only on specific pages and posts.
It works with all types of custom post types as well. Each script added to a page or post, will run only on that specific post.
Scripts can be added in a meta box when editing a page.
This plugin uses the wp_head() action hook, and adds the code to the header of the page.
Most of the themes using this hook, so it works on most of the themes.
Tested & works with Gutenberg.
Docs & Support
You will find more information about the plugin at the plugin website

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Page Specific Scripts」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon