Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Simple Custom CSS Plugin

Описание

Добавляет произвольный CSS на Ваш сайт WordPress без хлопот.

An easy-to-use WordPress Plugin to add custom CSS styles that override Plugin and Theme default styles. This plugin is designed to meet the needs of administrators who would like to add their own CSS to their WordPress website. Styles created with this plugin will render even if the theme is changed.

New in Version 4.0.6

  • Removes Customizer features when using a Block Theme.
  • Tested for WP version 6.1
  • Tested for PHP 8.1

About AMP Support

This plugin no longer enqueues your saved styles in a «pseudo-file», but rather prints the styles directly into the <head> element. This allows for better caching, and also processing by AMP plugins.

Features

  • AMP Support
  • Customizer Control (live preview)
  • Полезная подсветка синтаксиса кода
  • Code linting (error checking)
  • Нет нужды в конфигурациях
  • Simple interface built on native WordPress UI
  • Практически не влияет на производительность сайта
  • Нет сложных запросов к базе данных
  • Подробная документация
  • Allows Administrator access on WP Networks (Multisite)

Usage

  1. Navigate to Appearance > Custom CSS in the Admin Menu

  2. Enter in valid CSS styles

  3. Click «Update Custom CSS»

  4. View your changes in the Front End of your website

Help

Simple Custom CSS Wiki

Support Forum

Скриншоты

Установка

Установите Simple Custom CSS как и любой другой плагин WP:

  1. Download Simple Custom CSS from WordPress.org.

  2. Распакуйте .zip файл.

  3. Загрузите папку плагина (simple-custom-css/) в wp-content/plugins folder.

  4. Go to Plugins Admin Panel and find the newly uploaded Plugin, «Simple Custom CSS» in the list.

  5. Click «Activate Plugin.»

More help installing Plugins

Отзывы

02.02.2024
No settings needed for this plug in. It just works. Great choice for customizing footers and headers.
04.01.2022
For performance reasons, and instead of rendering plain CSS in page, maybe it would be better to generate a static file, versioned on each update for example ? It could allow to cache this file, and serve it without php code execution on each page request. Could it be possible for you to add this feature ? - & Thank you so John for this plugin i really like to use !
26.10.2021
Спасибо! Самый простой и быстрый способ не разбираясь в коде исправить косяк! 😉 -- Thanks! The easiest and fastest way to fix the jamb without understanding the code! 😉
17.05.2020
با این افزونه به راحتی می‌توانید هر استایلی که می‌خواهید را به سایتتان اضافه کنید. به شدت توصیه می‌کنم استفاده کنید.
Посмотреть все 155 отзывов

Участники и разработчики

«Simple Custom CSS Plugin» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Simple Custom CSS Plugin» переведён на 30 языков. Благодарим переводчиков за их работу.

Перевести «Simple Custom CSS Plugin» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

4.0.6
* Remove Customizer features when using a Block Theme. Props @tricarte
* Tested for compatibility with WP version 6.1
* Tested for compatibility with PHP 8.1

4.0.5
* AMP Support. Thanks, @westonruter!
* Tested for compatibility with WP version 5.8.1

4.0.4
* Tested for compatibility with WP version 5.4.1

4.0.3
* Tested for compatibility with WP version 5.3

4.0.2
* Use WP’s CodeMirror on settings page
* Tested for compatibility with WP version 5.1.1
* Tested for compatibility with PHP version 7.2

4.0.1
* Fixed bug with broken editor styles on older versions of WP.

4.0
* New Customizer Control (still compatible with older WP versions)
* Added colors and linting to the Settings Page
* Updated hooks to replace hyphens with underscores
* Tested for WPCS compliance
* Tested for compatibility with WP version 4.9.4

3.3
* Added support for https://
* Added base support for Danish language. Thanks @ThomasDK81!
* Tested for compatibility with WP version 4.4.1

3.2
* Tested for compatibility with WP 4.1
* Improved architecture to reduce the number of queries. Thanks @dannyvankooten!

3.0.1
* Tested for compatibility with WP 3.9.1
* Sidebar «Update CSS» button added

3.0
* Added Sytnax Highlighter
* Removed Need for «Allow Quotation Marks» checkbox
* Removed plugin attribution text
* Minor styling changes. Thanks @kucrut!

2.5
* Fixed issue with WP installs in subdirectories. Thanks @lopo!
* Tested for compatibility with WP 3.8.1

2.0
* Added option to allow Double Quotes in CSS
* Tested for compatibility with WP 3.8

1.2.1
* Tested for compatibility with WP 3.7.1
* Code update to conform fully with WP coding standards

1.2
* Give Admins (not just Super Admins) access to the plugin
* Correcting Credit error
* Minor Bugfixes

1.1.1
* Allowing the «>» direct child selector.

1.1
* Removed unneeded hidden input
* Added Action Hooks
* Added cleanup on deletion
* Added author attribution option
* Added a more elegant method for adding CSS to the page:

Instead of using print_scripts() to insert the CSS directly into the HEAD, CSS styles are generated within simple-custom-css.php, then added via wp_enqueue_scripts, so now it will appear in the HEAD as:

    <link rel="stylesheet" href="http://yoursite.com/?sccss=1" />

…even though no css file is actually generated.

1.0
* Initial Release