mlando
says
Anyone know how to call/echo the image radio button VALUE in the theme template from SMOF ?
SyamilMJ
says
Hi there,
The image radio button saves the key and not the value;
You’d use it as such:
global $data;
$foo = isset($data['my_radio_button_id']) ? $data['my_radio_button_id'] : '';
if($foo == 'bar') {
//display stuff
}
In the future please post questions regarding SMOF on its Github issue page.
Cheers
mlando
says
thank a ton!
