Hi Ikee,
For categories and subcategories, it is not possible unless you modify the source code from checkbox to radio button.
However, if you create custom fields, you may choose a Control Type between Radio button, Checkbox and Slider. In your case, you would choose “Radio Button”. This way, on the sidebar, you would only be able to pick one value under that specific fields.
Let us know if it works out for you! 🙂
Best regards,
Thread Starter
Jan
(@ikee248)
can you help me modify the source code?
Hi Ikee,
The code for this is in the Shortcodes.php file in the Functions folder.
You’ll see that the inputs in the sidebar are set as checkboxes. You can try changing these to radio buttons.
Regards,
EWD
Thread Starter
Jan
(@ikee248)
thank you!
btw, I was able to change checkbox to radio but the problem is the radio button would act like a checkbox. It’s as if each radio button are on a different form
Thread Starter
Jan
(@ikee248)
scratch that, just fixed it. Thank you for the help!