Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div class="outer" id="contentwrap">
- <div class="postcont">
- <div id="content">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <div class="post" id="post-<?php the_ID(); ?>">
- <h2 class="title"><?php the_title(); ?></h2>
- <div class="entry">
- <?php if ( function_exists("has_post_thumbnail") && has_post_thumbnail() ) { the_post_thumbnail(array(300,225), array("class" => "alignleft post_thumbnail")); } ?>
- <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
- <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
- </div>
- </div>
- <?php endwhile; endif; ?>
- <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
- // Both Comments and Pings are open ?>
- You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
- <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
- // Only Pings are Open ?>
- Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
- <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
- // Comments are open, Pings are not ?>
- You can skip to the end and leave a response. Pinging is currently not allowed.
- <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
- // Neither Comments, nor Pings are open ?>
- Both comments and pings are currently closed.
- <?php } edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
- <?php comments_template(); ?>
- </div>
- </div>
- <?php get_sidebars(); ?>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement