Permalink
Browse files

初始版本

  • Loading branch information...
1 parent e5596c0 commit 03e982155bd20fc2162b9de6f93f00c6d78e59fa @CplusHua committed Apr 28, 2012
Showing with 42 additions and 0 deletions.
  1. 0 footer.php
  2. 0 header.php
  3. +42 −0 index.php
  4. 0 sidebar.php
  5. 0 single.php
  6. 0 style.css
View
No changes.
View
No changes.
View
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head profile="http://gmpg.org/xfn/11">
+
+ <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
+
+ <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
+ <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
+
+ <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
+ <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
+ <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
+ <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
+ <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
+
+ <?php wp_get_archives('type=monthly&format=link'); ?>
+ <?php //comments_popup_script(); // off by default ?>
+ <?php wp_head(); ?>
+</head>
+<body>
+ <div>
+ <h1><a href="<?php bloginfo('url');?>"><?php bloginfo('name');?></a></h1>
+ <?php bloginfo('description');?>
+ </div>
+ <div id="container">
+ <?php if(have_posts()):?>
+ <?php while(have_posts()): the_post();?>
+ <div class="post">
+ <h2><a href="<?php the_permalink();?>"><?php the_title();?></a></h2>
+ <div class="entry"><?php the_content();?></div>
+ <p class="postmetadata">
+ <?php _e('Filed under&#58;'); ?> <?php the_category(', ') ?> <?php _e('by'); ?> <?php the_author(); ?><br />
+ <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?> <?php edit_post_link('Edit', ' &#124; ', ''); ?>
+ </p>
+ </div>
+ <?php endwhile;?>
+ <?php endif;?>
+ </div>
+
+
+</body>
+</html>
View
No changes.
View
No changes.
View
No changes.

0 comments on commit 03e9821

Please sign in to comment.