__('The Left Widget area','likeFacebook'), 'id' => 'left-widget-area', 'description' => __('The Left widget area','likeFacebook'), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' )); register_sidebar(array( 'name' => __('The Right Widget Area','likeFacebook'), 'id' => 'right-widget-area', 'description' => __('The Right widget area','likeFacebook'), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' )); } add_action( 'widgets_init', 'likeFacebook_widgets_init' ); // WP nav menu if (function_exists('wp_nav_menu')) { register_nav_menus(array('page_navigation' => __('Page Navigation','likeFacebook'))); register_nav_menus(array('cats_navigation' => __('Categories Navigation','likeFacebook'))); } // LOCALIZATION load_theme_textdomain('likeFacebook', get_template_directory() . '/lang'); // Custom Comments List. function mytheme_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ?>
  • id="li-comment-">
    comment_approved == '0') : ?>
    __('Reply','likeFacebook'), 'depth' => $depth, 'max_depth' => $args['max_depth']))) ?>
    'rss_url', 'name' => __('Rss Url', 'likeFacebook'), 'desc' => __('Put your full rss subscribe address here.(with http://)', 'likeFacebook') ), array( 'id' => 'twitter_url', 'name' => __('twitter Url', 'likeFacebook'), 'desc' => __('Put your full twitter address here.(with http:// , leave it blank for display none.)', 'likeFacebook') ), array( 'id' => 'facebook_url', 'name' => __('facebook Url', 'likeFacebook'), 'desc' => __('Put your full facebook address here.(with http:// , leave it blank for no display none.)', 'likeFacebook') ), array( 'id' => 'tqq_url', 'name' => __('tqq Url', 'likeFacebook'), 'desc' => __('Put your full QQ MicroBlog address here.(with http:// , leave it blank for no display none.)', 'likeFacebook') ), array( 'id' => 'renren_url', 'name' => __('renren Url', 'likeFacebook'), 'desc' => __('Put your full renren address here.(with http:// , leave it blank for no display none.)', 'likeFacebook') ), array( 'id' => 'sitemap_url', 'name' => __('sitemap Url', 'likeFacebook'), 'desc' => __('Put your full sitemap address here.(with http:// , leave it blank for no display none.)', 'likeFacebook') ), array( 'id' => 'tagpage_url', 'name' => __('tagpage Url', 'likeFacebook'), 'desc' => __('Put your full tagpage address here.(with http:// , leave it blank for no display none.)', 'likeFacebook') ), array( 'id' => 'excerpt_check', 'name' => __('Excerpt?', 'likeFacebook'), 'desc' => __('If the home page and archive pages to display excerpt of post, check.', 'likeFacebook') ), array( 'id' => 'comment_notes', 'name' => __('Disable the comment notes','likeFacebook'), 'desc' => __('Disabling this will remove the note text that displays with more options for adding to comments (html).', 'likeFacebook') ), array( 'id' => 'smilies', 'name' => __('Disable the comments smilies','likeFacebook'), 'desc' => __('Disabling this will remove the comments smilies.', 'likeFacebook') ) ); class likeFacebookOptions { function getOptions() { global $items; $options = get_option('likeFacebook_options'); if (!is_array($options)) { foreach ($items as $item) { $options[$item['id']] = ''; } update_option('likeFacebook_options', $options); } return $options; } function init() { global $items; if(isset($_POST['likeFacebook_save'])) { $options = likeFacebookOptions::getOptions(); foreach ($items as $item) { $options[$item['id']] = stripslashes($_POST[$item['id']]); } update_option('likeFacebook_options', $options); } elseif(isset($_POST['likeFacebook_reset'])) { foreach ($items as $item) { $options[$item['id']] = ''; } update_option('likeFacebook_options', $options); } else { likeFacebookOptions::getOptions(); } add_theme_page(__('likeFacebook Options','likeFacebook'), __('likeFacebook Options','likeFacebook'), 'edit_themes', basename(__FILE__), array('likeFacebookOptions', 'display')); } function display() { global $items; $options = likeFacebookOptions::getOptions(); ?>

    value="true" />
    " size="80" />