-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage.php
executable file
·26 lines (26 loc) · 1.15 KB
/
page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<div id="main-top">
<div class="main-top-left">
<div class="single-comments">
<a href="#comments"><?php comments_number('', '1', '%'); ?></a>
</div>
</div>
<?php if (is_file(STYLESHEETPATH . '/subscribe.php')) include(STYLESHEETPATH . '/subscribe.php'); else include(TEMPLATEPATH . '/subscribe.php'); ?>
</div>
<div id="main" class="clear">
<div id="content">
<?php while (have_posts()) : the_post(); ?>
<h1 class="title"><?php the_title(); ?></h1>
<div class="entry page">
<?php if ( function_exists( 'add_theme_support' ) ) the_post_thumbnail('index-thumb', array('class' => 'single-post-thm alignright border') ); ?>
<?php the_content(__('Read more', 'traction') . $read_more); ?>
<?php edit_post_link('<p>' . __('Edit This', 'traction').'</p>'); ?>
</div><!--end entry-->
<?php endwhile; /* rewind or continue if all posts have been fetched */ ?>
<?php comments_template('', true); ?>
<?php else : ?>
<?php endif; ?>
</div><!--end content-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>