Менеджер скриптов и стилей для WordPress

Описание

Важно понимать, что многие разработчики WordPress плагинов забывают о производительности при создании своих плагинов. Это означает, что многие плагины загружают собственные скрипты и стили в каждой записи и на странице вашего сайта. Это плохо, потому что это замедляет ваш сайт.

Вот почему мы создали Менеджер скриптов и стилей, с ним вы можете выбрать, какие сценарии и стили должны быть загружены на страницу, а какие — нет. Одним из примеров может быть плагин Contact Form 7. С помощью двух кликов вы можете отключить его везде, кроме как на странице где он используется.

ПРЕИМУЩЕСТВА ПЛАГИНА

Уменьшает количество загруженных HTTP-запросов (важно для более быстрой загрузки)
Уменьшает HTML-код фактической страницы (это даже лучше, если включено сжатие GZIP)
Удалите возможные конфликты между плагинами/темами (например, 2 файла JavaScript, которые загружаются из разных плагинов, и они мешают друг другу)
Лучшая оценка производительности, если вы проверяете свой URL-адрес на таких сайтах, как GTmetrix, PageSpeed Insights, Pingdom Website Speed Test
Google даст хорошую оценку вашему сайта, так как он будет быстрее, а быстрая загрузка страницы в настоящее время является фактором в ранжировании поиска

Мы использовали некоторые полезные функции из плагинов Asset Queue Manager, WP Asset CleanUp (Page Speed Optimizer), Clearfy – disable unused features, wp disable, Disabler, Admin Tweaks

Переводы

  • Английский — по-умолчанию
  • Французкий — Спасибо пользователю (kingteamdunet)
  • Русский

Если вы хотите помочь в переводе, свяжитесь со мной через этот сайт или через контакты внутри плагина.

РЕКОМЕНДУЕМ ПЛАГИНЫ

Мы приглашаем вас ознакомиться с несколькими другими бесплатными плагинами, которые наша команда также разработала:

Скриншоты

  • Панель управления
  • Менеджер скриптов и стилей

Установка

  1. Загрузите папку плагина в каталог /wp-content/plugins/
  2. Активируйте плагин через меню «Плагины» в WordPress
  3. Доступ к настройкам плагина можно получить через меню «Настройки» в области администрирования (либо администрирование вашего сайта для односайтовых установок).

Отзывы

04.08.2023
It's useful to remove head scripts/styles that are only needed on a few pages, basically to police stuff plugins really should be doing on their own. My biggest complaint is "assets manager" shows in the admin bar for ALL users even logged out! if the admin bar is visible. I suspect the author keeps that disabled on their site and doesn't realize it shows. I have to hide the manager (making it impossible to edit) at all times because I do show the admin bar for the Friends plugin and other features.
06.04.2022
At first I started with one star because haven't found the button on which one get to the assets manager, then three stars because I wasn't sure how it works, now after using it and dig into the code of the plugin I found it very good so that's the five stars, works as expected! Great work, thank you!
07.02.2022 1 ответ
I need a plugin like this, BUT, like other reviewers, I can't figure out how to configure and use it. There's a message in the settings that says to use the link in the Admin Bar. There is nothing related to this plugin that shows up in the Admin Bar. How does one use this? Surely, one of the reviewers that gave 5 starts can chime in? Cheers
17.09.2021 1 ответ
Well can't try this as this is unnecessary coded with an extra panel which is a miracle to be found. No menu in the admin panel like described (which is unnecessary and annoying anyway)
13.08.2021
Intrusive junk. When I try to delete this plugin, I get the following error message: Deletion failed: There has been a critical error on this website. Also, the plugin's folder is named "gonzales" instead of anything remotely matching "Webcraftic Assets manager." Really? Just "gonzales"? That makes it impossible to search for. STUPID! The only way to get rid of this junk is to delete the entire folder via FTP.
Посмотреть все 50 отзывов

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

«Менеджер скриптов и стилей для WordPress» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«Менеджер скриптов и стилей для WordPress» переведён на 6 языков. Благодарим переводчиков за их работу.

Перевести «Менеджер скриптов и стилей для WordPress» на ваш язык.

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

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

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

2.1.7 (21.11.2023)

  • Added: Compatibility with WordPress 6.4
  • Added: Compatibility with php 8.2

2.1.6 (22.03.2023)

  • Fixed: Freemius framework conflict
  • Added: Compatibility with WordPress 6.2

2.1.4 (27.05.2022)

  • Compatibility with WordPress 6.0

2.1.3 (21.03.2022)

  • Fixed: Compatibility with Disable admin notices plugin

2.1.2 (21.03.2022)

  • Compatibility with WordPress 5.2 — 5.9.x
  • Fixed: Minor bug

2.1.0 (21.12.2020)

  • Added: Compatibility with WordPress 5.8
  • Fixed: Minor bugs

2.0.7 (21.12.2020)

  • Disabled search by options for a single plugin.
  • Fixed: duplicate templates and scripts error when rendering html views of Assets manager.

2.0.6 (15.12.2020)

  • Added: Subscribe form
  • Fixed: Minor bug

2.0.5 (12.02.2020)

  • Fixed: Minor bug

2.0.4 (10.12.2019)

  • Fixed: Bug «Warning message when open the Customize«.
  • Fixed: Conditional logic in the premium plugin didn’t work in previous version due an error.
  • Added: You can control asset requires. Now if you disabled asset and it required for which other asset, you will get prompt with warning.
  • Added: If you click on the «requires» tag, you will be gone to the asset for which require the current asset.

2.0.3 (13.11.2019)

  • Fixed: Minor bugs. Comment head of mu plugin determined as main.

2.0.2 (13.11.2019)

  • Fixed: Minor bugs. Added an admin notice about great release.

2.0.1 (12.10.2019)

  • Fixed: The bug with save mode.
  • Fixed: Some conditions (entire website) didn’t work. It could be due save mode.
  • Fixed: Critical a php error which related «Call to undefined function wp_scripts_get_suffix».

2.0.0 (03.10.2019)

  • The interface has become more compact and friendly.
  • The speed and productivity of the editor is increased, it loads faster and does not freeze, as it was before.
  • Extended conditional logic has been added, now you can create complex conditions for disabling assets.
  • An additional mode has appeared to completely disable the plugin (you can disable not only scripts, but also stop executing plugin scripts).
  • Known bugs in the previous version are fixed.

1.1.0

  • Added: Compatibility with WordPress 4.2 — 5.x
  • Added: Multisite support
  • Fixed: Minor bugs

1.0.7

  • Fixed: Added compatibility with ithemes sync
  • Fixed: Minor style fixes

1.0.6

  • Fixed: Fixed a bug when the interface did not open on the frontend.

1.0.5

Great update:
* We completely changed the interface design. Now it is more convenient for visual inspection of resource files.
* Fixed: All errors that users have reported about
* Added: Multisite support
* Added: New logic disabled scripts and styles
* Added: You can exclude assets from optimizing for Autoptimize and Clearfy plugins.
* Added: You can exclude resource files for which you do not need to remove the query string.
* Added: You can see which plugin the style file belongs to and the js file.

1.0.4

  • Fixed: Update core
  • Fixed: Compatibility with others plugin

1.0.3

  • Исправлено: Совместимость с плагином Clearfy
  • Исправлено: Интерфейс плагина не работал и не подгружались стили из-за настроек безопасности
  • ДОБАВЛЕНО: Кеширование опций плагина, за счет чего удалось сократить запросы плагина к базе данных на 90%, плагин стал легче и быстрее.
  • ДОБАВЛЕНО: Сжатие и кеширование файлов ядра плагина, для уменьшения нагрузки на админ панель

1.0.2

  • Исправлено: Ошибки ядра плагина
  • Исправлено: Проблемы со шрифтами

1.0.0

  • Выпуск плагина