[Resolved] problems returning options value
I made a meta box for post and pages that has one text input option for a description. The database updates fine, I can see the option and value in the database. I can get the option and return it to the page just fine doing this
$options = get_option(‘description’);
My problem is that I am trying to populate the form in the admin the same way but I get nothing.
$options = get_option('description'); echo '<label for="page_post_description">' . __("Description Text: ",'page_description_textdomain') . '</label><br /><br />'; echo '<input type="text" class="widefat" id="page_post_description" name="description" value="' . $options . '" />';
What am I missing?
- The topic ‘[Resolved] problems returning options value’ is closed to new replies.