Open maurivan opened 5 years ago
Not in the very near future, but definitely something I'd like to include when I have some time :). Will keep this issue open so I can update you when I've added a solution.
Hey @houke It's possible to show the color pallete without show the image?
Here is the code I am using:
<? php echo do_shortcode ('[colorpalette attachment = "' get_post_thumbnail_id ()." "dominant =" false "colors =" 5 "] '); ?>
But I would like to display only the colors of the feature image but without displaying on the screen the feature image is possible?
Thanks bro! ;)
@maurivan If I am right, there is a shortcode like this: [colorpalettes attachments="21, 28, 32" colors="5"]
So colorpalettes instead of colorpalette. You define the id of the attachment and it'll only show the palette of that image. Optionally you can define how many colors you want to show
@houke It worked, but in this way it displays all the color palettes with the combinations - I would like to display only 1 palette - Is it possible?
Thanks :)
That's where the attachments param should be for. If you enter the ID of the attachment of which you want to show the palette, only that palette will be shown
Awesome, thank you! - This plugin is perfect! only missing it generate the color palette automatically when the user made some uploads! -- Perfect thank you!
WOWOWOWOOWOWO you're kidding me!
1.7.0 Added support for automatic generation of palettes. Disabled by default.
Thanks brother! 💃
Haha, yeah, I had to have a look at the possibilities. It's a first version (and that's why I made it a disabled by default option). Apparently there are like 3 or 4 different uploader scripts in WP, so it won't work everywhere yet.
I'll leave this issue open for now, so I can improve in the future.
🎄
Another note:
Do you have plans to make " Generate palette on upload" available? How is the development?
I ask you why I liked your script and would like to use this functionality (I'm a designer, frontend - I do not know how to program in PHP) :)
Nice plugin, congrats bro!