PageRenderTime 48ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-contentold/themes/clean-copy-left-sidebar-1/single.php

https://bitbucket.org/zachisit/zachis.it-m
PHP | 50 lines | 33 code | 17 blank | 0 comment | 2 complexity | 60f1226853a7136877cc62e549ffe53d MD5 | raw file
  1. <?php get_header(); ?>
  2. <!--include sidebar-->
  3. <?php include(TEMPLATEPATH."/sidebar.php");?>
  4. <div id="content">
  5. <!--single.php-->
  6. <!--loop-->
  7. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  8. <!--navigation-->
  9. <p><?php previous_post_link('&laquo; %link |') ?> <a href="<?php bloginfo('url'); ?>">Home</a> <?php next_post_link('| %link &raquo;') ?></p>
  10. <!--post title-->
  11. <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>
  12. <p><b>By <?php the_author(); ?></b> | <?php the_time('F j, Y'); ?></p>
  13. <div class="postspace2">
  14. </div>
  15. <!--content with more link-->
  16. <?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
  17. <!--for paginate posts-->
  18. <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
  19. <p><b>Topics:</b> <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
  20. <div class="postspace">
  21. </div>
  22. <!--all options over and out-->
  23. <!--include comments template-->
  24. <?php comments_template(); ?>
  25. <!--do not delete-->
  26. <?php endwhile; else: ?>
  27. Sorry, no posts matched your criteria.
  28. <!--do not delete-->
  29. <?php endif; ?>
  30. <!--single.php end-->
  31. </div>
  32. <!--include footer-->
  33. <?php get_footer(); ?>