[WordPress] 外掛分享: Custom Body Class

首頁外掛目錄 › Custom Body Class
10,000+
安裝啟用
★★★★★
5/5 分(21 則評價)
234 天前
最後更新
問題解決
WordPress 5.2.0+ v0.7.5 上架:2015-07-25

內容簡介

這個外掛程式可供您為頁面或文章添加獨特的 CSS 類別。

範例

TasteWP 已經準備好一個快速的 WordPress 實例來展示此外掛程式,您可以在 此範例 中試用它。

響應式

有一種方式可以添加僅顯示在行動裝置上的類別。您只需在類別前面添加 mobile-。例如,如果您想在行動裝置上添加類別 "car",您需要使用 "mobile-car"。

贊助我

如果您覺得此外掛程式有用,或者您想送我一杯咖啡,以下是支持方式:

使用 Github 贊助按鈕
Patreon
Ko-fi
觀看我的 twitch.tv/thelup 程式碼直播
或者簡單地訪問 lup.dev 網站增加我的網站流量。

外掛標籤

開發者團隊

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

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

原文外掛簡介

You can use this plugin to add a unique CSS class to your pages or posts.
Demo
TasteWP has prepared a quick WordPress instance with this plugin, so you can give it a try in this demo
Responsiveness
There’s a way to add a class to appear only on mobile devices. You can do that by simply adding mobile- on the front of
the class. For example, if you want to have the class “car” for mobile side, you need to use “mobile-car”.
Support me
If you find this plugin helpful, or you just want to send me a coffee here are the ways:

Use the Github Sponsor button
Ko-fi
Watch me coding on twitch.tv/thelup
Or simply visit my site lup.dev and make those analytics ring the bells.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon