Disable Global Style

설명

It disables the global style inlined by WordPress since WP 5.9. It also removes the duotone SVGs added after the opening body tag.

Even if you don’t use the full site editing, since WordPress 5.9 you will have an inlined style and some duotone SVGs added by the core on all the pages of your website.

The global inlined style is not enormous, but it’s also not very little. Around 5 kB added to the document may make a difference if your document is already heavy.

Moreover, why should your page have this style if you don’t need it?

Activate Disable Global Style and you will get rid of it.

How to disable the global style added by WordPress since v. 5.9

  • Install Disable Global Style
  • Done

No settings needed for this plugin. Just activate it and that’s it.

How to check that the global style is not inlined

  • Disable the plugin
  • Load a page of your website
  • Inspect elements (right-click => Inspect Elements)
  • Search for “global-style-inline-css”
  • Activate the plugin
  • Search again “global-style-inline-css”
  • If you find “global-style-inline-css” when the plugin is not active, but you don’t find it when the plugin is active, it means that it works

Clear the cache if any before to check.

후기

모든 1 평가 읽기

기여자 & 개발자

“Disable Global Style”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Disable Global Style”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.1

*Added: duotone filter SVGs bloating the HTML also removed

1.0.0

*Initial release