getting results to use
-
Hi Liam
I love the idea of this plugin! So very useful however, when I try to call up the results for use on the front end using
get_post_meta( $post->ID, 'dominant_color_hex', true )
I get nothing. Not even an empty array.With some combinations of various functions I can get the ‘alt’, ‘caption’, and ‘description’ of the image but nothing from the dominant colour plugin…
It works perfectly in the admin and displays a colour palette for each image with the dominant colour selected.
I have tried calling it from both within the loop and outside the loop both including and excluding the true/false parameter. Nothing.
Any thoughts??
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘getting results to use’ is closed to new replies.