该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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. 通过WordPress的的“Plugins”菜单激活插件
  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