Skip to content
Branch: master
Go to file
Code

Latest commit

Files

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

README.md

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

Releases

No releases published
You can’t perform that action at this time.