'
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); add_filter('comments_template', 'blumix_legacy_comments'); function blumix_legacy_comments($file) { if(!function_exists('wp_list_comments')) $file = TEMPLATEPATH . '/legacy.comments.php'; return $file; } if ( ! isset( $content_width ) ) $content_width = 580; //Add feed support add_theme_support('automatic-feed-links'); $themename = "Blumix"; $shortname = "tb"; $options = array ( array( "name" => "Header logo settings", "type" => "heading"), array( "name" => "Show image logo?", "desc" => "Check this box if you want to show image logo in header.

", "id" => $shortname."_logo_check", "std" => "false", "type" => "checkbox"), array( "name" => "Logo image path", "id" => $shortname."_logo_image", "std" => "", "desc" => "Enter your logo image path here.

", "type" => "text"), array( "name" => "Show Only Post Excerpt On Front Page?", "desc" => "Check this box if you want to show excerpt only for post on homepage.

", "id" => $shortname."_homepage_excerpt_check", "std" => "false", "type" => "checkbox"), ); function blumix_add_admin() { global $themename, $shortname, $options; if ( $_GET['page'] == basename(__FILE__) ) { if ( 'save' == $_REQUEST['action'] ) { foreach ($options as $value) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } foreach ($options as $value) { if( isset( $_REQUEST[ $value['id'] ] ) ) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } else { delete_option( $value['id'] ); } } header("Location: themes.php?page=functions.php&saved=true"); die; } else if( 'reset' == $_REQUEST['action'] ) { foreach ($options as $value) { delete_option( $value['id'] ); } header("Location: themes.php?page=functions.php&reset=true"); die; } } add_theme_page($themename." Options", "Blumix Theme Settings", 'edit_themes', basename(__FILE__), 'blumix_admin'); } function blumix_admin() { global $themename, $shortname, $options; if ( $_REQUEST['saved'] ) echo '

'.$themename.' settings saved.

'; if ( $_REQUEST['reset'] ) echo '

'.$themename.' settings reset.

'; ?>

settings

: " />
:
/>


Blumix a free theme was developed to you by BITTU.

10, 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => -1, 'caller_get_posts'=> 1 ); $my_query = null; $my_query = new WP_Query($args); if( $my_query->have_posts() ) { while ($my_query->have_posts()) : $my_query->the_post(); ?> post->post_title !== "") { ?>