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

    ', 'after_title' => '

    ', )); add_filter('comments_template', 'legacy_comments'); function legacy_comments($file) { if(!function_exists('wp_list_comments')) $file = TEMPLATEPATH . '/legacy.comments.php'; return $file; } function new_excerpt_length($length) { if(is_archive() || is_category()) return 50; else return 100; } add_filter('excerpt_length', 'new_excerpt_length'); if ( ! isset( $content_width ) ) $content_width = 570; add_action('after_setup_theme','add_feed_support'); function add_feed_support(){ if(function_exists('add_theme_support')) add_theme_support('automatic-feed-links'); } ?> "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 mytheme_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__), 'mytheme_admin'); } function mytheme_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.