web/wp-content/themes/default/page.php
author ymh <ymh.work@gmail.com>
Mon, 22 Mar 2010 16:36:28 +0100
changeset 5 ac511f1ccc8e
parent 1 0d28b7c10758
permissions -rw-r--r--
add hgignore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
0d28b7c10758 First commit
ymh
parents:
diff changeset
     1
<?php
0d28b7c10758 First commit
ymh
parents:
diff changeset
     2
/**
0d28b7c10758 First commit
ymh
parents:
diff changeset
     3
 * @package WordPress
0d28b7c10758 First commit
ymh
parents:
diff changeset
     4
 * @subpackage Default_Theme
0d28b7c10758 First commit
ymh
parents:
diff changeset
     5
 */
0d28b7c10758 First commit
ymh
parents:
diff changeset
     6
0d28b7c10758 First commit
ymh
parents:
diff changeset
     7
get_header(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
     8
0d28b7c10758 First commit
ymh
parents:
diff changeset
     9
	<div id="content" class="narrowcolumn" role="main">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    10
0d28b7c10758 First commit
ymh
parents:
diff changeset
    11
		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    12
		<div class="post" id="post-<?php the_ID(); ?>">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    13
		<h2><?php the_title(); ?></h2>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    14
			<div class="entry">
0d28b7c10758 First commit
ymh
parents:
diff changeset
    15
				<?php the_content('<p class="serif">Read the rest of this page &raquo;</p>'); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    16
0d28b7c10758 First commit
ymh
parents:
diff changeset
    17
				<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    18
0d28b7c10758 First commit
ymh
parents:
diff changeset
    19
			</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    20
		</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    21
		<?php endwhile; endif; ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    22
	<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    23
	
0d28b7c10758 First commit
ymh
parents:
diff changeset
    24
	<?php comments_template(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    25
	
0d28b7c10758 First commit
ymh
parents:
diff changeset
    26
	</div>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    27
0d28b7c10758 First commit
ymh
parents:
diff changeset
    28
<?php get_sidebar(); ?>
0d28b7c10758 First commit
ymh
parents:
diff changeset
    29
0d28b7c10758 First commit
ymh
parents:
diff changeset
    30
<?php get_footer(); ?>