Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Awesome Color Palettes

Apraksts

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%; }

Uzstādīšana

  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

Atsauksmes

3 septembris, 2016
Simple. Sweet. Just what I was looking for. Thank you so much!
Lasīt 3 atsauksmes

Autori un izstrādātāji

“Awesome Color Palettes” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Awesome Color Palettes&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.0

  • July 20th, 2014
  • Built with love