for posts and comments. add_theme_support( 'automatic-feed-links' ); // This theme supports a variety of post formats. add_theme_support( 'post-formats', array( 'aside', 'image', 'link', 'quote', 'status' ) ); /* * This theme supports custom background color and image, and here * we also set up the default background color. */ add_theme_support( 'custom-background', array( 'default-color' => '292728', ) ); add_theme_support( 'custom-header' ); if(function_exists ('add_theme_support')){ add_theme_support ('post-thumbnails'); } if(function_exists ('add_image_size')){ add_image_size ('featured', 220, 200, true ); add_image_size ('post_tumb', 280, 220, true ); add_image_size ('post_single', 700, 99999, true ); } // register_nav_menus( array( 'header_menu' => 'PluginBuddy Mobile Navigation Menu', 'footer_menu' => 'My Custom Footer Menu' ) ); /** * Sets up the content width value based on the theme's design and stylesheet. */ if ( ! isset( $content_width ) ) $content_width = 625; /* To Register Sidebar */ function bw_widget_areas() { register_sidebar(array( 'name' => __('Right Sidebar', 'bw'), 'id' => 'right_sidebar', 'before_widget' => '
', 'before_title' => '