'textlogo', 'logo_path' => '', 'google_id' => 'riteshsanap', 'twitter_id' => 'riteshsanap', 'facebook_id' => 'riteshsanap', 'feedburner_id' => 'best2know', 'subscribe' => 'Yes', 'showad468x60' => 'Yes', 'ad468x60' => '', 'footerwidget' => 'Yes', 'track' => 'No', 'pfoot' => 'Yes', 'pfoot_code' => '', 'track_code' => '' // <-- no comma after the last option ); // push the defaults to the options database, // if options don't yet exist there. add_option($settings, $defaults, '', 'yes'); /* /////////////////////////////////////////////// This section hooks the proper functions to the proper actions in WordPress \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ */ // this function registers our settings in the db add_action('admin_init', 'register_theme_settings'); function register_theme_settings() { global $settings; register_setting($settings, $settings); } // this function adds the settings page to the Appearance tab add_action('admin_menu', 'add_theme_options_menu'); function add_theme_options_menu() { add_submenu_page('themes.php', __('Btemplatr Theme Options', 'best2know'), __('Btemplatr Theme Options', 'best2know'), 8, 'theme-options', 'theme_settings_admin'); } function theme_settings_admin() { ?>

'.__('Theme Options', 'best2know').' '.__('Reset to defaults', 'best2know').'

'; update_option($settings, $defaults); } elseif($_REQUEST['updated'] == 'true') { echo '

'.__('Theme Options', 'best2know').' '.__('Saved', 'best2know').'

'; } screen_icon('options-general'); ?>



All Copyrights Reserved by Download Deck and Ritesh Sanap

Thanks to Zero Tech and Smashing Tips for the Support


:


Widgets to set your custom widgets.', 'best2know'); ?>




-









.metabox-holder { width: 350px; float: left; margin: 0; padding: 0 10px 0 0; } .metabox-holder .postbox .inside { padding: 0 10px; } input, textarea, select { margin: 5px 0 5px 0; padding: 1px; } CSS; echo << jQuery(document).ready(function($) { $(".fade").fadeIn(1000).fadeTo(1000, 1).fadeOut(1000); }); JS; } ?>