I'm really hoping that someone can help me out here, I'm trying to give the admin the ability to choose a page for a button to link to. I've created the select using...
... and am creating the arguments via...
$args = array( 'echo' => 1, 'selected' => $the_link, 'name' => 'theme_option[the_link]');
... and have attempted to save the value generated
$input['the_link'] = (int) $input['the_link'];
... but so far no luck. The selected option just resets once the form has been sent, and it doesn't look like the value is getting saved at all. Does anyone have any advice?