'Sidebar','before_widget' => '
','after_widget' => '
','before_title' => '

','after_title' => '

')); } // Excerpt Read More function new_excerpt_more($more) { return '…'; } add_filter('excerpt_more', 'new_excerpt_more'); // Recent Comments function latest_comments() { global $wpdb; $comments = get_comments('status=approve&number=7'); if ($comments) { foreach ($comments as $comment) { echo '
  • '; echo ''.$comment->comment_author.''; echo ' '.__('on','cover-wp').' '.get_the_title($comment->comment_post_ID).'

    '; $content = $comment->comment_content; $content = substr_replace($content, '', 80); echo '"'.strip_tags ($content).'…"

  • '; } } } // Unregister WP-Page-Navi Stylesheet add_action( 'wp_print_styles', 'my_deregister_styles', 100 ); function my_deregister_styles() { wp_deregister_style( 'wp-pagenavi' ); } // Custom Color Scheme require_once ( get_template_directory() . '/color-scheme.php' ); add_action('wp_head', 'color_scheme', 9); /* *** WordPress 3.0 Features *** */ // Custom Menus function mytheme_addmenus() { if ( function_exists( 'register_nav_menus' ) ) register_nav_menus( array( 'main_nav' => 'Top Navigation', // You can add more menus here ) ); } add_action( 'init', 'mytheme_addmenus' ); function mytheme_nav() { if ( function_exists( 'wp_nav_menu' ) ) wp_nav_menu( array('theme_location' => 'main_nav', 'container' => '', 'menu_id' => 'top-nav', 'menu_class' => 'clearfix', 'fallback_cb' => 'mytheme_nav_fallback') ); else mytheme_nav_fallback(); } function mytheme_nav_fallback() { ?>