diff --git a/src/includes/class-shortcodes.php b/src/includes/class-shortcodes.php index 03f2d755..9f332755 100644 --- a/src/includes/class-shortcodes.php +++ b/src/includes/class-shortcodes.php @@ -138,6 +138,9 @@ public static function get_items($items=array(), $tag, $atts, $prefix='', $setti if($tag==='checkbox'){ $selected_items = explode( ",", $atts['value'] ); } + if($tag==='radio'){ + $selected_items = array($atts['value']); + } $items = array();