I put this code into my functions.php https://gist.github.com/corvannoorloos/4703066 and it work nice.
Now I want to display value from Sample Select Options filed in some front-end templates.
How can I do that? I tried get_option
<?php echo get_option( 'sample_select_options', true); ?>
but it return number 1 no matter what is selected.
_s_prefix to the option. Since
_s_simple_select_optionsis an array, you might need a foreach loop to deal with multiple values.