Kirki: Radio Image preset

Created on 22 Dec 2016  路  7Comments  路  Source: kirki-framework/kirki

Issue description:

I have a background pattern chooser and each pattern is associated a different opacity in three different areas of the theme design, so the preset works great, but instead of select, is there a way to make it a radio-image preset?

preset feature

Most helpful comment

The plan is to deprecate the preset control, and instead introduce it as an argument that will be usable in a lot of controls.
We'll get there eventually... And when we do of course there will be a fallback for existing implementatons.
Leaving this one open as a feature request.

All 7 comments

The plan is to deprecate the preset control, and instead introduce it as an argument that will be usable in a lot of controls.
We'll get there eventually... And when we do of course there will be a fallback for existing implementatons.
Leaving this one open as a feature request.

Thanks!

Presets as arguments would be a killer feature! Looking forward to it!

Hi, I need your help regarding Radio-Image.

I've a theme where I put 3 template styles, I've make 1st template as default from code (customizer.php).
In my theme there are many elements/layouts dependent on template including repeater filed.

But after activating theme I've got many errors like;
Warning: Invalid argument supplied for foreach() in File...

So I've to first switch between any template (style) from customizer first to hide these errors.
Any help would be really appreciable as I'm messing with these from past week.

Thanks in Advance.

@umairrazzaq what you're describing has nothing to do with this ticket.
Please create a new ticket instead, and provide as many details as possible including the code you're using and the full error message.

@aristath Thanks for your reply and sure let me create another ticket for this.

I just implemented a preset argument which can on for controls like radio-buttonset, radio-image and so on so posting an update in relevant tickets in case someone needs it.
Won't be documented yet, this is a soft-launch so some people can use it and as soon as we're sure it works ok we can add docs etc.
For now in my tests it appears to be working flawlessly 馃憤
See #1843 for details

Was this page helpful?
0 / 5 - 0 ratings