Support » Plugin: Custom Content Type Manager » How to output option value?

Viewing 1 replies (of 1 total)
  • Plugin Contributor fireproofsocks


    Sorry for the late response: I don’t police the forums as often as I’d like. If you need to work with “Red” instead of with the “#ff0000”, then consider NOT using the option to store separate options/values.

    If you do, however, need to read “Red”, then use the get_custom_field_meta() function:

    You’ll want to use print_r() on the output to help you identify where the data is that you want, e.g. in your theme file:

    $metadata = get_custom_field_meta('my_dropdown');
Viewing 1 replies (of 1 total)
  • The topic ‘How to output option value?’ is closed to new replies.