Hi I made a theme options by this tutorial
This options have multicheck type by checkboxes. I don't know how to make it work. I'm try to exclude page using this multicheck. This is my array with options:
$pages = get_pages('sort_column=post_parent,menu_order');
$pageids = array();
foreach ($pages as $page) {
$pageids[$page->ID]= $page->post_title;
}
array( "name" => "Exclude page",
"desc" => "",
"id" => $shortname."_excludepage",
"type" => "multicheck",
"options" => $pageids,
"std" => ""),
This screen show how this function looks in my DB:
http://i.stack.imgur.com/QFwV7.png
512 is the ID of a page that I try to exclude.
Look's like this in admin:
http://i.stack.imgur.com/31TQa.png
In my template I've use this standart method for exclusion:
wp_list_pages("exclude=get_option('src_excludepage'));
Please help me with this function! Thank you!