[WordPress] 外掛分享: CSS Selectors

首頁 › 外掛目錄 › CSS Selectors
WordPress 外掛 CSS Selectors 的封面圖片
全新外掛
安裝啟用
—
尚無評分
28 天前
最後更新
—
問題解決
WordPress 4.6+ PHP 5.6+ v0.0.3 上架:2021-07-20

內容簡介

CSS Selectors 外掛可自動為 HTML 中缺少的元素添加 CSS 選擇器,確保每個 DOM 元素都有相應的類名,方便使用者進行自訂樣式設計。

【主要功能】
• 自動為缺少選擇器的元素添加類名
• 類名格式為 css-sel- 開頭
• 無需額外設置,啟用即用

外掛標籤

開發者團隊

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

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

原文外掛簡介

It adds CSS selectors in the HTML where there are not.
Sometimes you need some custom CSS and you realise a specific element of the DOM is without any selector.
After activating this plugin you will not have anymore this problem. Every element of the DOM will have a class name that begins with css-sel-.
There are no options, just activate the plugin.
To see if it works, in the frontend right-click with your mouse and click on “Inspect” (usually F12). Then you should not see any more DOM elements without any class.
The only elements that may still miss a CSS class are those ones that are added dynamically through JavaScript. In this last case the plugin can’t do anything, because it works only on the server before sending the page to the browser.
It adds no HTTP requests, and no queries to the database.
Help
If you need help open a thread on the support forum of this plugin.
Please, before posting enable the debugging in wp-config.php. Need a step-by-step guide? Read this detailed tutorial on how to enable debugging in WordPress to learn more.

延伸相關外掛

文章
Filter
Mastodon