WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Hold your color

Add custom color tag to your posts.

How can I add/edit or remove colors

The managing system is the same as tags. Go to Colors under the Posts section. Add a color with a color Name and a Slug. Description is not used.

How can I assigned a color to a post

When you are writting a post, go to the right column under tags section and add or remove the colors you want.

How can I change the color for the widget

Go to the Hold your color settings page under Settings section. Then, for each color, paste the hexadecimal code in the input field or use the jQuery colorpicker. Save your changes.

Can I use a tag cloud for the colors

Yes, set a new Tag Cloud widget and set Colors for the taxonomy.

What are the colors widget options

Title: (optional) set a title to the widget Show as dropdown: change the presentation and use a dropdown list with the color name Hide empty: if checked, colors which aren't assigned to a post will be hidden Colors to show: check the colors you want to show. Prefer checking all

How can I show colors tags in the loop

The plugin comes with two useful functions.

<?php the_colors($bull = true, $before = null, $separator = ' ', $after = null); ?>

Parameters:

$bull

show colors as bullet and not as word

$before

text to show before listing

$separator

separator between each color

$after

text to show after listing

If you don't want to show directly the colors and keep its in a php variable, use this function :

<?php get_the_colors($post_ID = null); ?>

It will return an object array. Refer to this function to see who to use id : http://codex.wordpress.org/Function_Reference/wp_get_post_terms

How can I print colors of a specific post outside the loop

Use the second function see below and set the $post_ID.

How can I change the style of the widget/inside post listing

Just edit the hyc-widget.css in the css folder of the plugin.

Requires: 2.8 or higher
Compatible up to: 3.0.5
Last Updated: 2011-1-5
Downloads: 2,168

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
0,1,0