section add_theme_support( 'automatic-feed-links' ); // Add Custom BG add_theme_support( 'custom-background' ); // Enable post thumbnails add_theme_support('post-thumbnails'); set_post_thumbnail_size(200, 200, true); // ADD POST FORMATS add_theme_support( 'post-formats', array( 'aside', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video', 'audio' ) ); // Editor Support add_editor_style(); } add_action( 'after_setup_theme', 'bits_setup' ); // Set Content Width if ( ! isset( $content_width ) ) $content_width = 728; // Odd Even Post Class function bits_post_class ( $classes ) { global $current_class; $classes[] = $current_class; $current_class = ($current_class == 'odd') ? 'even' : 'odd'; return $classes; } add_filter ( 'post_class' , 'bits_post_class' ); global $current_class; $current_class = 'odd'; // Add Bread Crumbs function bits_breadcrumb() { echo bloginfo('name'); if (!is_front_page()) { echo ' Home'; echo " / "; if (is_category() || is_single()) { the_category(' '); if (is_single()) { echo " / "; the_title(); } } elseif (is_page()) { echo the_title(); } } else { echo 'Home'; } } // Add Widgets function bits_widgets_init() { register_sidebar(array( 'id' => 'main-sidebar', 'name' => 'Main Sidebar', 'before_widget' => '