Force Admin Color Scheme
Force a single admin color scheme for all users of the site.
Utiliser avec prudence
Force Admin Color Scheme works, but test it on a staging site before relying on it in 2026. It runs on 500+ sites, is rated 5/5 and was last updated 2 years ago, and scores 43/100 on our health check.
- Petite base d'utilisateurs (plus de 500 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour depuis plus d'un an
- Uniquement testé jusqu'à WordPress 6,8 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Force Admin Color Scheme stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| administrateur | >100 |
| admin colors | #37 |
| coffee2code | #7 |
| color scheme | #8 |
| staging | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★ ★★★★★ 5 sur 2 avis
About Force Admin Color Scheme
À partir du Lisez-moi officiel · v2.1Description
Though it is typically an individually configurable aspect of WordPress, there are times when forcing a single admin color scheme upon all users of a site can be warranted, such as to:
- Provide a unique backend color scheme for multiple sites used by the same set of users to reinforce the difference between the sites.
- Clearly denote backend differences between a production and staging/test instance of a site. Especially given that in this situation with the same plugins active and often the same data present, it can be easy to get mixed up about what site you’re actually on.
- Force a site brand-appropriate color scheme.
- Crush the expression of individuality under your iron fist.
Additionally, the plugin removes the “Admin Color Scheme” profile setting from users who don’t have the capability to set the admin color scheme globally since being able to set its value gives them the false impression that it may actually apply.
Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage
Crochets
The plugin is further customizable via one filter. Typically, code making use of filters should ideally be put into a mu-plugin or site-specific plugin (which is beyond the scope of this readme to explain).
c2c_force_admin_color_scheme (filter)
The ‘c2c_force_admin_color_scheme’ filter allows you to set or override the forced admin color scheme. Use of the constant (“) takes priority over the filtered value, but the filtered value takes priority over the value set via the admin.
Arguments:
- $color (string): The name of the admin color scheme. If an empty string is returned, then the plugin will behave as if no forced admin color scheme has been defined.
Exemple :
/**
* Sets a forced admin color scheme based on user. Admins get one color scheme, whereas everyone else gets another.
*
* @param string $color The current forced admin color scheme. Empty string indicates no forced admin color scheme.
* @return string
*/
function my_c2c_force_admin_color_scheme( $color ) {
return current_user_can( 'manage_options' ) ? 'sunrise' : 'coffee';
}
add_filter( 'c2c_force_admin_color_scheme', 'my_c2c_force_admin_color_scheme' );
Installation
- Install via the built-in WordPress plugin installer. Or install the plugin code inside the plugins directory for your site (typically
/wp-content/plugins/). - Activate the plugin through the ‘Plugins’ admin menu in WordPress
- As an admin, edit your own profile (Users -> Your Profile) and choose the Admin Color Scheme you want to apply to all users by setting the color scheme for yourself.
- Check the “Force this admin color scheme on all users?” checkbox and then save the update to your profile.
- Optional: Use the
c2c_force_admin_color_schemefilter in custom code to programmatically set the forced admin color scheme with greater control. - Optional: Define the
C2C_FORCE_ADMIN_COLOR_SCHEMEconstant somewhere (such aswp-config.php) if you’d prefer to configure the color that way. Configuring the color in this manner takes precedence over the color as configured via an admin’s profile. Also, if the constant is used, the plugin prevents the setting of admin color schemes entirely from within user profiles, including by admins.
Journal de modifications
Minor release: fixed bug where use of constant prevented admin UI color changes from being saved, added clarifying help text, prevented translations from containing unintended markup, noted compatibility through WP 6.8+, removed unit tests from release packaging, and updated copyright date (2025)
2.1 (2025-02-15)
Highlights:
This minor release fixes a bug that prevented a forced color scheme from being set or unset if one was being forced via the constant, adds clarifying help text, prevents markup from containing unintended markup, removes unit tests from release packaging, updates compatibility through WP 6.8+, and a few more minor changes.
Details:
- Fix: Allow saving a forced admin color scheme even if constant is set (the constant will still take precedence unless invalid)
- New: Add help text under the checkbox, if checked, to clarify that unchecking it will unset the forced color scheme
- New: Add
get_color_scheme_via_setting()to get the forced admin color scheme saved as a plugin setting - Change: Prevent translations from containing unintended markup
- Hardening: Sanitize submitted color scheme name
- Change: Prevent unwarranted PHPCS complaint
- Change: Add FAQ entry regarding allowing users to choose admin colors schemes again
- Change: Change word used in output string
- Change: Add missing inline comment for translators
- Change: Note compatibility through WP 6.8+
- Change: Note compatibility through PHP 8.3+
- Change: Update copyright date (2025)
- New: Add
.gitignorefile - Change: Remove development and testing-related files from release packaging
- Change: Tweak formatting in
README.md - Change: Fix some typos in inline documentation
- Unit tests:
- Hardening: Prevent direct web access to
bootstrap.php - Allow tests to run against current versions of WordPress
- New: Add
composer.jsonfor PHPUnit Polyfill dependency - Change: Explicitly define return type for overridden methods
- Change: In bootstrap, store path to plugin directory in a constant
- Change: Prevent PHP warnings due to missing core-related generated files
- Hardening: Prevent direct web access to
- Change: Add more potential TODO items and reformat some existing entries
2.0.3 (2021-10-14)
- Change: Use ‘translators’ instead of ‘translator’ as prefix for translator comments
- Change: Note compatibility through WP 5.8+
- Change: Tweak installation instruction
- Unit tests:
- Change: Restructure unit test directories
- Change: Move
phpunit/intotests/ - Change: Move
phpunit/binintotests/
- Change: Move
- Change: Remove ‘test-‘ prefix from unit test file
- Change: In bootstrap, store path to plugin file constant
- Change: In bootstrap, add backcompat for PHPUnit pre-v6.0
- Change: Restructure unit test directories
2.0.2 (2021-04-11)
- Change: Note compatibility through WP 5.7+
- Change: Update copyright date (2021)
Full changelog is available in CHANGELOG.md.
Captures d'écran
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Force Admin Color Scheme alternatives
Tous les plugins d'administrateur →FAQ
Force Admin Color Scheme: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Force Admin Color Scheme free?
Yes. Force Admin Color Scheme is free to download and use from the official WordPress.org plugin directory.
Is Force Admin Color Scheme safe to use in 2026?
Force Admin Color Scheme works, but test it on a staging site before relying on it in 2026. It runs on 500+ sites, is rated 5/5 and was last updated 2 years ago, and scores 43/100 on our health check.
How many websites use Force Admin Color Scheme?
Force Admin Color Scheme is active on 500+ WordPress websites and has been downloaded 11,813 times since it launched in March 2016. It was downloaded 443 times in the last 30 days.
Does Force Admin Color Scheme work with WordPress 7.1?
Force Admin Color Scheme is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Force Admin Color Scheme last updated?
The latest version, 2.1, was released on April 17, 2025 (2 years ago).
Who makes Force Admin Color Scheme?
Force Admin Color Scheme is developed and maintained by Scott Reilly.
What are the best alternatives to Force Admin Color Scheme?
The most popular alternatives to Force Admin Color Scheme are Loginizer (1M+ installs), Redux Framework (800K+ installs) and Admin Menu Editor (300K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
