/wp-contentold/themes/clean-copy-left-sidebar-1/single.php
PHP | 50 lines | 33 code | 17 blank | 0 comment | 2 complexity | 60f1226853a7136877cc62e549ffe53d MD5 | raw file
- <?php get_header(); ?>
- <!--include sidebar-->
- <?php include(TEMPLATEPATH."/sidebar.php");?>
- <div id="content">
- <!--single.php-->
-
- <!--loop-->
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <!--navigation-->
- <p><?php previous_post_link('« %link |') ?> <a href="<?php bloginfo('url'); ?>">Home</a> <?php next_post_link('| %link »') ?></p>
-
- <!--post title-->
- <h2 id="post-<?php the_ID(); ?>"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
- <p><b>By <?php the_author(); ?></b> | <?php the_time('F j, Y'); ?></p>
- <div class="postspace2">
- </div>
- <!--content with more link-->
- <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
-
- <!--for paginate posts-->
- <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
- <p><b>Topics:</b> <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
-
- <div class="postspace">
- </div>
- <!--all options over and out-->
-
-
- <!--include comments template-->
- <?php comments_template(); ?>
-
- <!--do not delete-->
- <?php endwhile; else: ?>
-
- Sorry, no posts matched your criteria.
- <!--do not delete-->
- <?php endif; ?>
-
- <!--single.php end-->
- </div>
- <!--include footer-->
- <?php get_footer(); ?>