跳到内容

Dark Mode for WP Dashboard

v1.3.11

Naiche · 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+

贡献者

截图

Dashboard
Dashboard
Plugins
Plugins
Pages
Pages

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 FAQ
  • add_filter( 'dark_mode_dashboard_default_preference', function() { return 'disabled'; } ) — change the default mode for new users
  • add_filter( 'dark_mode_dashboard_editor_canvas', '__return_false' ) — disable dark mode for the editor content area

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums