• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Code To Add Color Picker To Meta Box On Edit Post Screens

This code creates a color picker meta box which loads on the Edit Post screen.

You can use the color picker to style any element on any single post like you see in the following demo video.

Demo Video

Shows how the color picker meta box can be added to the Edit post admin screen using screen options and used to style any element on any single post.

Tested using the Genesis Sample child theme by StudioPress however will work in any WordPress or Genesis child theme.

Code Installation

There’s only 1 step. Copy & paste the PHP code from the functions file in the download folder to the end of your child themes functions.php file and check the screen options to show the meta box on Edit Post screens.

Register or login to access the code in the download folder :

Register for full access

Related Code Snippets

  • Add Color Picker To Edit Post Screen To Style Specific Single Post Elements
  • Add Color Picker To Edit Category Screen To Set Color For Posts In Each Category

Custom Fields Meta Box

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems