WP Add Custom CSS

설명

WP Add Custom CSS allows you to add custom CSS to the whole website and to individual posts, pages and custom post types (such as Woocommerce products).
The CSS rules applied to the whole website will override the default stylesheets of your theme and plugins, while the CSS rules applied to specific pages, posts or custom post types will override the main stylesheet too.

The plugin works with the most popular builders, such as Elementor, Gutenberg and the Classic Editor.

You can edit the main stylesheet from the the “Add custom CSS” settings page.
The plugin also creates a new “Custom CSS” box in the editing area to add custom CSS to specific posts, pages and custom post types.

Select the preferred CSS output method from the plugin’s settings page to ensure seamless integration with caching and minification plugins or to improve above-the-fold rendering performance.

스크린샷

  • Add custom CSS to the whole website.
  • Add custom CSS to specific posts.
  • Add custom CSS to specific pages.
  • Add custom CSS to specific custom post types (such as Woocommerce products).

설치

자동 설치

  1. Go to Plugins > Add New > Upload and select the .zip file from your hard disk
  2. Click the “Install now” button
  3. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.

수동 설치

  1. Upload the plugin folder to the /wp-content/plugins/ directory via ftp
  2. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.

FAQ

How do I apply custom CSS to the whole website?

Once the plugin is installed and activated, from your dashboard navigate to “Add custom CSS”, and write the CSS rules in the textarea.

How do I apply custom CSS to a specific post or page?

Once the plugin is installed and activated, you will find a new box called “Custom CSS” in your post/page editing area.

How do I apply custom CSS to a specific custom post type?

Once the plugin is installed and activated, from your dashboard navigate to “Add custom CSS”, check the desired custom post types and save. You will find a new box called “Custom CSS” in your custom post type editing area.

Which CSS output method should I choose?

To improve your website’s speed, it’s generally recommended to select “Use a CSS file”, which allows optimization plugins to cache and minify the output.
Choosing “Use a style tag in the HTML head” outputs the CSS directly in the of the page, which can improve above-the-fold rendering performance.
By default, the “Use WordPress hook” option is selected to maintain backward compatibility.

The “Custom CSS” box is not displaying, why?

Click on the “Screen option” link from your post/page editing area and be sure the “Custom CSS” option is checked.

후기

2025년 11월 8일
I want to like this plugin but there are a couple things needed improvement. Having the option to choose output method is great, but useless when it’s not working. The “Use a CSS file” option does not work. There’s no CSS file output and the CSS my code has no effect on the frontend. When I switch to the other two options, then my CSS is loaded in the frontend. Secondly, the Save button is way at the bottom of the page. I make a lot of CSS edits. Having to scroll down the screen every time to save a change is a hassle.
2024년 9월 14일
Says it has not been tested against recent versions, but it works great still. Simple and elegant solution. Sep 13 2024
2022년 11월 2일
Meno male che ci hai pensato tu! Mi son sempre domandato perché non l’abbiano implementata di default una funzione così! Grazie
2022년 2월 4일
I was trying to figure out a way to add unique CSS to a line of products to make the pages look different than the ‘regular’ line of products. This allows me to add a field in each product and then copy the product or copy and paste the code when needed. Wokrking in WP 5.9 with WooCommerce.
모든 89 평가 읽기

기여자 & 개발자

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

기여자

“WP Add Custom CSS”(이)가 12 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “WP Add Custom CSS”(을)를 번역하세요.

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

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

변경이력

1.2.1

  • Moved custom css file to uploads
  • Set higher priority for wp_head callbacks

1.2.0

  • Added output as pure CSS file or style tag to improve performance

1.1.6

  • Updated code editor
  • Added text wrapping to code editor
  • Fixed compatibilty issues with WPBakery Frontend Editor

1.1.5

  • Changed default code editor
  • Advanced code editor is now resizable
  • Fixed textarea direction for RTL languages

1.1.4

  • Fixed compatibility issue with The Events Calendar

1.1.3

  • Fixed WordPress 5 compatibility issues
  • Fixed Gutenberg compatibility issues
  • Updated uninstall method
  • Minor improvements

1.1.2

  • Fixed CodeMirror compatibility issues

1.1.1

  • Fixed uninstall hook

1.1.0

  • Added CodeMirror text editor

1.0.1

  • Fixed issues with ssl on some server configurations

1.0.0

  • Added support for custom post types

0.9.7

  • Fixed minor bug

0.9.6

  • Fixed WPML bug

0.9.5

  • Improved css output for single posts and pages

0.9.4

  • Fixed > rendering issue

0.9.3

  • Fixed minor bug

0.9.2

  • Fixed minor bug
  • Minor layout changes

0.9.1

  • Fixed double quotes rendering issue

0.9

  • First release