Dark Mode for WP Dashboard
v1.3.11Naiche · 2020年10月22日 上架
A clean, lightweight dark mode for the WordPress admin dashboard.
- 正在使用
- 3,000+
- 评分
- 4.8 / 5
- 累计下载
- 7 万
- 最近更新
- 2026年10月6日
35 条评价需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+
贡献者
截图
No settings page, no bloat — just activate and go. Dark mode for every corner of your WordPress admin.
- Instant toggle in the admin bar — no page reload
- Per-user preference: Dark / Light / Auto (follows system)
- Full block editor and Site Editor support
- 14 popular plugins supported out of the box
- Developer-friendly: filters for default preference, custom CSS, and editor canvas control
Supported plugins:
- Advanced Custom Fields
- AIOSEO
- Better Search Replace
- Code Snippets
- Jetpack
- Kadence Blocks
- Nested Pages
- SmartCrawl SEO
- Smush
- The SEO Framework
- WooCommerce
- WPCode (Insert Headers and Footers)
- Yoast SEO (including Premium, Local, News, WooCommerce)
- Zamok
The plugin adds a dark-mode class to the admin body when active, and provides three filters for customization:
add_filter( 'dark_mode_dashboard_css', 'your_stylesheet_url' )— replace the plugin’s admin stylesheet with your own. This swaps the whole file rather than adding to it, so your stylesheet has to cover everything the plugin’s does, and it does not affect the post editor’s content area. To add a few rules of your own instead, enqueue a second stylesheet — see the FAQadd_filter( 'dark_mode_dashboard_default_preference', function() { return 'disabled'; } )— change the default mode for new usersadd_filter( 'dark_mode_dashboard_editor_canvas', '__return_false' )— disable dark mode for the editor content area


