at the moment, there’s no way you can add radiobuttons to the customizer screen in Pinegrow. A checkbox is difficult since it returns a value of 0 or 1 which sometimes is not adequate for use. Is it possible to use radio buttons in the customizer that return values like true or false?
At the top of the panel showing your files you’ll see a small rectangle with a down arrow.
Click this to reveal a library of page elements.
In the buttons section you’ll see “Radio button group”
Drag and drop this into your page.
You can return whatever value you want.
Checkboxes and Radio Buttons are just another way of selecting options.
one or more and only one respectively
@mxs - @24degrees is asking about adding a radio button group to the WordPress customizer. The library would let you add them to your page, but not the customizer.
@24degrees - I’m not the in-house expert on PG WordPress, but as far as I know, right now you need some custom code to add radio buttons. You can do this through the “Add Customizer Control” WordPress action (not the smart action).
The items that normally go into the “add_setting” and the other parts of the “add_control” like description are entered into the upper input boxes (at least I think so for the additional parts of the “add_control”, might be wrong on this one).
Sorry! Not sure if this may be included in a future version or not.
Good Luck!! Reach back out if you need more help.
Cheers,
Bob