Make WordPress Core


Ignore:
Timestamp:
05/23/2005 05:58:59 PM (20 years ago)
Author:
matt
Message:

Reducing the number of tabs to make using the built-in editor easier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/header.php

    r2434 r2615  
    33
    44<head profile="http://gmpg.org/xfn/11">
    5     <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
     5<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    66
    7     <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    8    
    9     <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
     7<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    108
    11     <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    12     <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    13     <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    14     <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    15     <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
     9<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    1610
    17     <style type="text/css" media="screen">
    18    
    19         /* BEGIN IMAGE CSS */
    20             /*  To accomodate differing install paths of WordPress, images are referred only here,
    21                 and not in the wp-layout.css file. If you prefer to use only CSS for colors and what
    22                 not, then go right ahead and delete the following lines, and the image files. */
    23            
    24         body        { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgcolor.jpg"); }    <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?>
    25             #page       { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; } <?php } else { // No sidebar ?>
    26             #page       { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } <?php } ?>
    27             #header     { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickheader.jpg") no-repeat bottom center; }
    28             #footer     { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickfooter.jpg") no-repeat bottom; border: none;}
    29            
    30            
    31             /*  Because the template is slightly different, size-wise, with images, this needs to be set here
    32                 If you don't want to use the template's images, you can also delete the following two lines. */
    33            
    34             #header     { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
    35             #headerimg  { margin: 7px 9px 0; height: 192px; width: 740px; }
    36         /* END IMAGE CSS */
     11<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
     12<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
     13<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
     14<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
     15<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
     16
     17<style type="text/css" media="screen">
     18/*  To accomodate differing install paths of WordPress, images are referred only here,
     19    and not in the wp-layout.css file. If you prefer to use only CSS for colors and what
     20    not, then go right ahead and delete the following lines, and the image files. */
    3721       
    38    
    39         /*  To ease the insertion of a personal header image, I have done it in such a way,
    40             that you simply drop in an image called 'personalheader.jpg' into your /images/
    41             directory. Dimensions should be at least 760px x 200px. Anything above that will
    42             get cropped off of the image. */
     22    body { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgcolor.jpg"); }   
     23<?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single())) { ?>
     24    #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; }
     25<?php } else { // No sidebar ?>
     26    #page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
     27<?php } ?>
     28    #header { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickheader.jpg") no-repeat bottom center; }
     29    #footer { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickfooter.jpg") no-repeat bottom; border: none;}
     30
     31/*  Because the template is slightly different, size-wise, with images, this needs to be set here
     32    If you don't want to use the template's images, you can also delete the following two lines. */
    4333       
    44         /*
    45         #headerimg  { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
    46         */
     34    #header     { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
     35    #headerimg  { margin: 7px 9px 0; height: 192px; width: 740px; }
    4736
    48     </style>
     37/*  To ease the insertion of a personal header image, I have done it in such a way,
     38    that you simply drop in an image called 'personalheader.jpg' into your /images/
     39    directory. Dimensions should be at least 760px x 200px. Anything above that will
     40    get cropped off of the image. */
     41    /*
     42    #headerimg { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
     43    */
     44</style>
    4945
    50     <?php wp_get_archives('type=monthly&format=link'); ?>
     46<?php wp_get_archives('type=monthly&format=link'); ?>
    5147
    52     <?php wp_head(); ?>
     48<?php wp_head(); ?>
    5349</head>
    5450<body>
Note: See TracChangeset for help on using the changeset viewer.