We’re rewarding the question askers & reputations are being recalculated! Read more.
1

Custom fields are saved as "post meta" which is stored in wp_postmeta. To retrieve them, you use the get_post_meta() function as follows: $value = get_post_meta( $post_id, $meta_key, $single ); $single will almost always be set to true if you're working string data. Unfortunately, it defaults as false, so if you're retrieving the data as a string, you ...


1

Thanks for your help Sally, here is the completed jQuery which pushes the RGB value to another field. Name of the RGB field has _rgb at the end. jQuery(function() { var myOptions = { // you can declare a default color here, // or in the data-default-color attribute on the input defaultColor: false, // a callback to fire ...


Only top voted, non community-wiki answers of a minimum length are eligible