這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Simple CSS

外掛說明

Need to add some custom CSS to your site? Simple CSS gives you an awesome admin editor and a live preview editor in the Customizer so you can easily add your CSS.

Want your CSS to only apply on a specific page or post? Simple CSS adds a metabox which allows you to do just that.

Check out GeneratePress, our awesome WordPress theme! (https://wordpress.org/themes/generatepress)

Features include:

  • Full featured admin CSS editor
  • Dark and light editor themes
  • CSS editor in the Customizer so you can live preview your changes
  • Metabox for page/post specific CSS

螢幕擷圖

  • The dark theme of the CSS editor.
  • The light theme of the CSS editor.
  • The CSS editor in the Customizer.
  • The CSS editor metabox.

安裝方式

There’s two ways to install Simple CSS.

  1. Go to “Plugins > Add New” in your Dashboard and search for: Simple CSS
  2. Download the .zip from WordPress.org, and upload the folder to the /wp-content/plugins/ directory via FTP.

In most cases, #1 will work fine and is way easier.

常見問題集

How do I add CSS using your plugin?

  • Make sure Simple CSS is activated.
  • Navigate to “Appearance > Simple CSS” and add your CSS to the editor.

How do I add CSS using the Customizer?

  • Make sure Simple CSS is activated.
  • Navigation to “Appearance > Customize” and open the “Simple CSS” section.

How do I change the editor color?

  • In “Appearance > Simple CSS”, change the “Dark” option below the “Save CSS” button to “Light”.

How do I add CSS that applies only to one page?

  • Navigate to your page or post in the Dashboard and look for the “Simple CSS” metabox.

使用者評論

2023 年 12 月 16 日
This seems like a great idea, and it’s super to finally be clear of the small Additional CSS panel in native wordpress. What’s making me unsure if I should continue are 2 things: 1 – when you press Save, it shoots you back to the top of the CSS file. If you wanted to check and re-edit a bit you were working on, you’ve got to find it again. 2 – no code hints to help complete as you type. Both these things are present on the Additional CSS panel but not here. Hope they can introduce!
2023 年 9 月 23 日
By far the best plugin to add custom css, I have been using it for years now and in many websites.
2021 年 2 月 9 日
I had been struggling with page speed but could see in GT Metrix that custom CSS (Jetpack) was taking over 1 second to load. Copied it over to Simple CSS and page load dropped from 3.3 seconds to 0.8s! That’s a 75% reduction – fantastic!!! [Also, I love that I can drop a little bit of CSS into the meta box for some post-specific tweaks – so cool, saves CSS bloat for rarely used styling]
2020 年 9 月 15 日
This solves so much for me/us. I regret not finding this before. Why did I not find this until today? I just clicked every single link on Toms website (generatepress.com) to figure out if I missed some other amazing things. Newsletter from Tom? Yes please.
閱讀全部 59 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Simple CSS〉的開發相關工作。

參與者

將〈Simple CSS〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.1

  • Fix PHP notice when Simple CSS hasn’t been saved yet

1.1

  • Fix meta box saving issue

1.0

  • Show metabox only on public post types
  • Add live preview to Customizer
  • Code cleanup
  • Better sanitizing/validation

0.4

  • Use browser search instead of CodeMirror dialog search
  • Don’t show GeneratePress metabox if it’s already activated
  • Make CSS box full height

0.3

  • Add CSS metabox to add CSS on specific pages and posts
  • Adjust styling of dark theme
  • Add tips to Simple CSS screen

0.2

  • Remove extra whitespace from CSS output
  • Remove spellcheck from Customizer input
  • Allow > characters in the CSS
  • Add find (ctrl + f) functionality

0.1

  • Initial release