Allow multisite site admins to access custom CSS by trusting them with unfiltered CSS.
Author: | Nick Halsey (profile at wordpress.org) |
WordPress version required: | 4.7 |
WordPress version tested: | 6.6.1 |
Plugin version: | 1.0 |
Added to WordPress repository: | 07-12-2016 |
Last updated: | 13-07-2024 |
Rating, %: | 100 |
Rated by: | 7 |
Plugin URI: | http://celloexpressions.com/plugins/multisite... |
Total downloads: | 10 554 |
Active installs: | 200+ |
Click to start download |
WordPress core provides custom CSS functionality in the customizer that’s specific to the current theme; you can switch themes freely with each theme’s additional CSS remaining in place. This is particularly useful on multisite networks, where it’s often impractical to use child themes to save customizations for each site. Unfortunately, custom CSS is not visible to site admins on multisite networks by default because they are not trusted with unfiltered CSS.
This plugin gives site admins access to the core custom CSS feature by mapping the edit_css
capability to edit_theme_options
, thereby trusting site admins with unfiltered CSS.
FAQ
ChangeLog