[ad_1]
Iβd like to use values from a shortcode in a dynamic select drop-down, but the values wonβt populate as single options and it looks like this π:
-- Please select
"China" "Peru" "Nepal"
The tag:
[dynamic_select my-select "My-Shortcode"]
The shortcode
function my_shortcode() {
$html=""China" "Peru" "Nepal"";
return $html;
}
add_shortcode( 'My-Shortcode', 'my_shortcode' );
I tried some variations with double and single quotes, but no success.
Can anyone help me out?