Linux 软件免费装
Banner图

Plugin Name

开发者 halgatewood
更新时间 2021年3月31日 02:31
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 4.3
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode color colors colour palettes color palettes colour palettes

下载

1.0

详情介绍:

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 make 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

屏幕截图:

  • When the user hovers over the palette expands to show the hex values

更新日志:

1.0