Line | |
---|
1 | <?php /* Fusion/digitalnature
|
---|
2 |
|
---|
3 | Template Name: Page without sidebar
|
---|
4 | */ ?>
|
---|
5 | <?php get_header(); ?>
|
---|
6 |
|
---|
7 | <!-- mid content -->
|
---|
8 | <div id="mid-content">
|
---|
9 |
|
---|
10 | <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
---|
11 | <?php if (function_exists("post_class")) { ?>
|
---|
12 | <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
---|
13 | <?php } else { ?>
|
---|
14 | <div class="post" id="post-<?php the_ID(); ?>">
|
---|
15 | <?php } ?>
|
---|
16 | <?php if (!get_post_meta($post->ID, 'hide_title', true)): ?><h2 class="left"><?php the_title(); ?></h2><?php endif; ?>
|
---|
17 | <p class="right"><span class="editlink page"><?php edit_post_link(''); ?></span></p>
|
---|
18 | <div class="clear"></div>
|
---|
19 | <div class="entry clearfix">
|
---|
20 | <?php the_content(__('Read the rest of this page »', 'fusion')); ?>
|
---|
21 | <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
|
---|
22 | </div>
|
---|
23 | </div>
|
---|
24 | <?php endwhile; endif; ?>
|
---|
25 |
|
---|
26 |
|
---|
27 | <?php comments_template(); ?>
|
---|
28 | </div>
|
---|
29 | <!-- mid content -->
|
---|
30 | </div>
|
---|
31 | <!-- /mid -->
|
---|
32 |
|
---|
33 | <?php get_footer(); ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.