Multisite Custom CSS

Περιγραφή

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.

Εγκατάσταση

  1. Εγκαταστήστε μέσω της διαδικασίας εγκατάστασης πρόσθετων στο WordPress, Ή,
  2. Μεταφορτώστε το αρχείο. zip και φορτώστε τον αποσυμπιεσμένο φάκελλο στον κατάλογο /wp-content/plugins/
  3. Ενεργοποιήσετε το πρόσθετο σε όλο το δίκτυο μέσω του μενού «Πρόσθετα» στην διαχείριση δικτύου
  4. (Μη Super) Admins μπορούν τώρα να διαχειριστούν το δικό τους CSS στον προσαρμογέα για του ιστοτόπου τους

Συχνές Ερωτήσεις

Γιατί είναι το πρόσθετο απαραίτητο;

Core can’t guarantee that CSS is properly sanitized when saving it in the database, and the associated capabilities for managing CSS are equivalent to those for posting unfiltered html. Site admins do not have this capability, so they can’t manage CSS as a result. However, in most cases this is an acceptable tradeoff for providing custom CSS to site admins, particularly on trusted networks (open networks are encouraged to take greater precautions and consider other solutions besides this plugin). Note that super admins can access custom CSS for any site on the network without this plugin.

Because this plugin only provides access to a core feature for more users, all feature requests and non-capability-related support questions apply to WordPress core and not this plugin.

Κριτικές

14 Ιουλίου 2021
Works perfectly, allows admin to tweak their site’s CSS. I found that this plugin doesn’t need to be activated network-wide: you can let admins decide to activate it whether they need it. The custom CSS rules will stay even when the plugin is deactivated. They can always be edited by a network superuser.
8 Απριλίου 2021
It solved the problem.
13 Μαρτίου 2019
Very useful. I support a great many sites and several of the individual site admins were keen to tweak the CSS. This is a great solution!
8 Φεβρουαρίου 2018
Saved my life.
Ανάγνωση όλων των 8 κριτικών

Συνεισφέροντες & Προγραμματιστές

“Multisite Custom CSS” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Το “Multisite Custom CSS” έχει μεταφραστεί σε 1 γλώσσα. Ευχαριστούμε τους μεταφραστές για τις συνεισφορές τους.

Μεταφράστε το “Multisite Custom CSS” στην γλώσσα σας.

Ενδιαφέρεστε για την ανάπτυξη;

Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .

Σύνοψη αλλαγών

1.0

  • Πρώτη δημόσια διαθέσιμη έκδοση του πρόσθετου.
  • Απαιτεί WordPress 4.7 +.