Make WordPress Core


Ignore:
Timestamp:
01/04/2005 05:20:06 AM (20 years ago)
Author:
rboren
Message:

Make Kubrick the new default. The old default is available as the Classic theme.

File:
1 edited

Legend:

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

    r2032 r2040  
    33
    44<head profile="http://gmpg.org/xfn/11">
    5     <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
     5    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    66   
    77    <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
    8     <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
     8    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
     9
     10    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    911
    1012    <style type="text/css" media="screen">
    11         @import url( <?php bloginfo('stylesheet_url'); ?> );
     13
     14        /* BEGIN IMAGE CSS */
     15            /*  To accomodate differing install paths of WordPress, images are referred only here,
     16                and not in the wp-layout.css file. If you prefer to use only CSS for colors and what
     17                not, then go right ahead and delete the following lines, and the image files. */
     18           
     19        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()) && (! is_page())) { ?>
     20            #page       { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; } <?php } else { // No sidebar ?>
     21            #page       { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } <?php } ?>
     22            #header     { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickheader.jpg") no-repeat bottom center; }
     23            #footer     { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickfooter.jpg") no-repeat bottom; border: none;}
     24           
     25           
     26            /*  Because the template is slightly different, size-wise, with images, this needs to be set here
     27                If you don't want to use the template's images, you can also delete the following two lines. */
     28           
     29            #header     { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
     30            #headerimg  { margin: 7px 9px 0; height: 192px; width: 740px; }
     31        /* END IMAGE CSS */
     32       
     33
     34        /*  To ease the insertion of a personal header image, I have done it in such a way,
     35            that you simply drop in an image called 'personalheader.jpg' into your /images/
     36            directory. Dimensions should be at least 760px x 200px. Anything above that will
     37            get cropped off of the image. */
     38       
     39        #headerimg  { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
     40       
    1241    </style>
    13 
     42   
     43    <link rel="stylesheet" type="text/css" media="print" href="<?php echo get_settings('siteurl'); ?>/print.css" />
    1444    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    1545    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    1646    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
     47    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
     48   
     49    <?php wp_get_archives('type=monthly&format=link'); ?>
    1750   
    18     <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    19     <?php wp_get_archives('type=monthly&format=link'); ?>
    20     <?php //comments_popup_script(); // off by default ?>
    2151    <?php wp_head(); ?>
    2252</head>
     53<body>
     54<div id="page">
    2355
    24 <body>
    25 <div id="rap">
    26 <h1 id="header"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    2756
    28 <div id="content">
    29 <!-- end header -->
     57<div id="header">
     58    <div id="headerimg">
     59        <h1><a href="<?php echo get_settings('siteurl'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
     60        <div class="description"><?php bloginfo('description'); ?></div>
     61    </div>
     62</div>
     63<hr />
Note: See TracChangeset for help on using the changeset viewer.