Skip to content

theamnesic/dominant-color

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Dominant Color

WordPress plugin to save the dominant color of the image file you upload.

Also adds a metabox with a colorpicker in your Media library.

Installation

  1. Upload the plugin in your wp-content/plugins directory
  2. Activate it on the plugin administration page

Usage

Call the post meta (an hexadecimal code) in your template:

By attachment ID

show_dominant($attachmentID)

By post ID

show_dominant_by_post_id($postID)

About

Save the dominant color of the image files you upload in Wordpress.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published