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_options
is an array, you might need a foreach loop to deal with multiple values.