Make WordPress Core

Changeset 1542


Ignore:
Timestamp:
08/20/2004 05:14:27 PM (22 years ago)
Author:
saxmatt
Message:

Header/footer template start

Location:
trunk
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r1516 r1542  
    22/* Don't remove this line. */
    33require('./wp-blog-header.php');
     4include(ABSPATH . '/wp-header.php');
    45?>
    5 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    6 <html xmlns="http://www.w3.org/1999/xhtml">
    76
    8 <head profile="http://gmpg.org/xfn/1">
    9     <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
    10    
    11     <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
    12     <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
    13 
    14     <style type="text/css" media="screen">
    15         @import url( <?php echo get_settings('siteurl'); ?>/wp-layout.css );
    16     </style>
    17    
    18     <link rel="stylesheet" type="text/css" media="print" href="<?php echo get_settings('siteurl'); ?>/print.css" />
    19     <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    20     <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    21     <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    22    
    23     <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    24     <?php wp_get_archives('type=monthly&format=link'); ?>
    25     <?php //comments_popup_script(); // off by default ?>
    26     <?php wp_head(); ?>
    27 </head>
    28 
    29 <body>
    30 <div id="rap">
    31 <h1 id="header"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    32 
    33 <div id="content">
    347<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    358
     
    6235
    6336<?php posts_nav_link(' &#8212; ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?>
    64 </div>
    6537
    66 
    67 
    68 <div id="menu">
    69 
    70 <ul>
    71     <?php get_links_list(); ?>
    72  <li id="categories"><?php _e('Categories:'); ?>
    73     <ul>
    74     <?php wp_list_cats(); ?>
    75     </ul>
    76  </li>
    77  <li id="search">
    78    <label for="s"><?php _e('Search:'); ?></label>   
    79    <form id="searchform" method="get" action="<?php echo $PHP_SELF; ?>">
    80     <div>
    81         <input type="text" name="s" id="s" size="15" /><br />
    82         <input type="submit" name="submit" value="<?php _e('Search'); ?>" />
    83     </div>
    84     </form>
    85  </li>
    86  <li id="archives"><?php _e('Archives:'); ?>
    87     <ul>
    88      <?php wp_get_archives('type=monthly'); ?>
    89     </ul>
    90  </li>
    91  <li id="calendar">
    92     <?php get_calendar(); ?>
    93  </li>
    94  <li id="meta"><?php _e('Meta:'); ?>
    95     <ul>
    96         <li><?php wp_register(); ?></li>
    97         <li><?php wp_loginout(); ?></li>
    98         <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    99         <li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    100         <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
    101         <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
    102         <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>"><abbr title="WordPress">WP</abbr></a></li>
    103         <?php wp_meta(); ?>
    104     </ul>
    105  </li>
    106 
    107 </ul>
    108 
    109 </div>
    110 
    111 </div>
    112 
    113 <p class="credit"><!--<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by <a href='http://wordpress.org' title='%s'><strong>WordPress</strong></a>"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></cite></p>
    114 </body>
    115 </html>
     38<?php include(ABSPATH . '/wp-footer.php'); ?>
Note: See TracChangeset for help on using the changeset viewer.