244) { $options['left_sidebar_width'] = 244; } // google custom search engine if ($_POST['google_cse']) { $options['google_cse'] = (bool)true; } else { $options['google_cse'] = (bool)false; } $options['google_cse_cx'] = stripslashes($_POST['google_cse_cx']); // menu $options['menu_type'] = stripslashes($_POST['menu_type']); // notice if ($_POST['notice']) { $options['notice'] = (bool)true; } else { $options['notice'] = (bool)false; } $options['notice_color'] = $_POST['notice_color']; $options['notice_content'] = stripslashes($_POST['notice_content']); // categories & tags if ($_POST['categories']) { $options['categories'] = (bool)true; } else { $options['categories'] = (bool)false; } if (!$_POST['tags']) { $options['tags'] = (bool)false; } else { $options['tags'] = (bool)true; } // feed if ($_POST['feed']) { $options['feed'] = (bool)true; } else { $options['feed'] = (bool)false; } $options['feed_url'] = stripslashes($_POST['feed_url']); if (!$_POST['feed_readers']) { $options['feed_readers'] = (bool)false; } else { $options['feed_readers'] = (bool)true; } update_option('blocks_options', $options); } else { BlocksOptions::getOptions(); } add_theme_page("Current Theme Options", "Current Theme Options", 'edit_themes', basename(__FILE__), array('BlocksOptions', 'display')); } function display() { $options = BlocksOptions::getOptions(); ?>








name="cx" in the Search box code of Google Custom Search Engine, and type the value here.
For example: 014782006753236413342:1ltfrybsbz4', 'blocks'); ?>


'Sidebar_single', 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', )); } else if(function_exists('register_sidebar') && $options['sidebar'] == 2) { register_sidebar(array( 'name' => 'Sidebar_left', 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', )); register_sidebar(array( 'name' => 'Sidebar_right', 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', )); } /** Comments */ if (function_exists('wp_list_comments')) { // comment count add_filter('get_comments_number', 'comment_count', 0); function comment_count( $commentcount ) { global $id; $comments_by_type = &separate_comments(get_comments('post_id=' . $id)); return count($comments_by_type['comment']); } // custom comments function custom_comments($comment, $args, $depth) { $GLOBALS['comment'] = $comment; global $commentcount; if(!$commentcount) { $commentcount = 0; } ?>
  • | $depth, 'max_depth'=> $args['max_depth'], 'reply_text' => __('Reply', 'blocks'), 'after' => ' | '));?>
    |