[WordPress] 外掛分享: Post/Page Specific Custom Code

首頁外掛目錄 › Post/Page Specific Custom Code
WordPress 外掛 Post/Page Specific Custom Code 的封面圖片
7,000+
安裝啟用
★★★★
4.6/5 分(42 則評價)
8 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v0.3.1 上架:2016-12-15

內容簡介

Post/Page Specific Custom Code 外掛允許用戶為單獨的文章、頁面或 WooCommerce 產品添加自訂 CSS。使用者可以在編輯畫面中專用的框內撰寫 CSS,並選擇其加載方式。

【主要功能】
• 為單篇文章或頁面添加自訂 CSS
• 支援 WooCommerce 產品的 CSS 設定
• 可選擇在單一視圖或檔案樣式視圖加載
• 內建語法高亮的程式碼編輯器
• 支援 WordPress 5.0 及以上版本

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.3.1) 或搜尋安裝

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

原文外掛簡介

Post/Page Specific Custom Code lets you add custom CSS to individual posts, pages, or WooCommerce products. A dedicated box on the edit screen is where you write your CSS. You can also choose whether it should load only on the single view or on archive-style views as well.
The meta box appears below the content editor for posts, pages, and products. Enter your CSS there and decide whether it applies only on the single view or also on archive-style views (blog/category listings, the WooCommerce shop and product categories/tags). Product CSS also loads on a best-effort basis for products rendered through standard WooCommerce loop templates outside the main query (for example the [products] shortcode). CSS discovered only after the page head may be printed in the footer. Custom product markup that skips WooCommerce templates needs a small integration hook. Products injected only via AJAX or infinite scroll are not covered.
CSS fields use a code editor with syntax highlighting by default. You can turn highlighting off with a filter if you prefer a plain textarea (for example on slower machines).
Requirements
This plugin requires WordPress 5.0 or later (please keep WordPress up to date) and PHP 7.4 or later on your server.

文章
Filter
Mastodon