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

Awesome Color Palettes

外掛說明

Finally a cool way to display color palettes on your site. This tiny little plugin gives you a cool way to display color palette on your pages.

Example of what it looks like:
http://halgatewood.com/palettes/

Use the shortcode to and pass in a list of colors:

[awe_palette colors="434858,5886c5,#f2674a,c6006d"]

Or you can call it directly with PHP in your theme:

<?php awesome_color_palettes( array('#cccccc', 'efefef', '666') ); ?>

You can include the # or not, it doesn’t care what you do.

Wait, there’s more. Create an awesome-color-palette.php file and put it in your theme folder and you can custom palettes for whatever you need.

It can handle 10 colors out of the box. To add more, simply create some CSS like below and add it to your style.css file in your theme.

.awe-color-palette.count-20 .color { width: 5%; }

安裝方式

  1. Add plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use shortcode mention in the main page to display the goods

使用者評論

2016 年 9 月 3 日
Simple. Sweet. Just what I was looking for. Thank you so much!
閱讀全部 3 則使用者評論

參與者及開發者

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

參與者

將〈Awesome Color Palettes〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0

  • July 20th, 2014
  • Built with love