Make WordPress Core

Changeset 2123


Ignore:
Timestamp:
01/24/2005 05:59:00 AM (21 years ago)
Author:
saxmatt
Message:

Tweaks to how pages are displayed

Location:
trunk/wp-content/themes/default
Files:
2 edited

Legend:

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

    r2040 r2123  
    44<head profile="http://gmpg.org/xfn/11">
    55    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    6    
     6
    77    <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
    88    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    99
    1010    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
     11    <link rel="stylesheet" type="text/css" media="print" href="<?php echo get_settings('siteurl'); ?>/print.css" />
     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'); ?>" />
    1116
    1217    <style type="text/css" media="screen">
    13 
     18   
    1419        /* BEGIN IMAGE CSS */
    1520            /*  To accomodate differing install paths of WordPress, images are referred only here,
     
    3136        /* END IMAGE CSS */
    3237       
    33 
     38   
    3439        /*  To ease the insertion of a personal header image, I have done it in such a way,
    3540            that you simply drop in an image called 'personalheader.jpg' into your /images/
     
    3742            get cropped off of the image. */
    3843       
     44        /*
    3945        #headerimg  { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
    40        
     46        */
     47
    4148    </style>
    42    
    43     <link rel="stylesheet" type="text/css" media="print" href="<?php echo get_settings('siteurl'); ?>/print.css" />
    44     <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    45     <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    46     <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'); ?>
    50    
     49
     50    <?php wp_get_archives('type=monthly&format=link'); ?>
     51
    5152    <?php wp_head(); ?>
    5253</head>
    5354<body>
     55
    5456<div id="page">
    5557
     
    5759<div id="header">
    5860    <div id="headerimg">
    59         <h1><a href="<?php echo get_settings('siteurl'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
     61        <h1><a href="<?php echo get_settings('siteurl'); ?>"><?php bloginfo('name'); ?></a></h1>
    6062        <div class="description"><?php bloginfo('description'); ?></div>
    6163    </div>
  • trunk/wp-content/themes/default/page.php

    r2040 r2123  
    11<?php get_header(); ?>
    22
    3     <div id="content" class="widecolumn">
     3    <div id="content" class="narrowcolumn">
    44
    55    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    66        <div class="post">
     7        <h2 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2>
    78            <div class="entrytext">
    89                <?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
     
    1516    </div>
    1617
     18<?php get_sidebar(); ?>
     19
    1720<?php get_footer(); ?>
Note: See TracChangeset for help on using the changeset viewer.