Custom Body Class
v0.7.5Andrei Lupu · 2015年7月26日 上架
A plain simple plugin which allows you to add a custom CSS class the HTML body tag.
- 正在使用
- 1 万+
- 评分
- 5.0 / 5
- 累计下载
- 12 万
- 最近更新
- 2025年7月28日
21 条评价需要 WordPress 5.2.0+已测试到 6.8.13
贡献者
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.