Location: PHPKode > scripts > Photospace Gallery > photospace theme download/photospace/single.php
<?php get_header(); ?>
<?php $options = get_option('pb_options'); ?>


  <div id="middle-contents" class="clearfix">

   <div id="left-col">

<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

    <div class="post" id="single">
     <h2><?php the_title(); ?></h2>
     <ul class="post-info">
      <li><?php the_time('F jS, Y') ?></li>
      <li>Posted in <?php the_category(' . '); ?></li>
      <?php if ($options['author']) : ?><li>By <?php the_author_posts_link(); ?></li><?php endif; ?>
      <li class="write-comment"><a href="#respond">Write comment</a></li>
      <li class="post-edit"><?php edit_post_link('[ EDIT ]', '', '' ); ?></li>

     </ul>
     <div class="post-content">
       <?php the_content('Read more'); ?>
       <?php wp_link_pages(); ?>
     </div>

    </div>

<?php endwhile; else: ?>
    <div class="post-content">
      <p>Sorry nothing found</p>
    </div>
<?php endif; ?>

<?php if (function_exists('wp_list_comments')) { comments_template('', true); } else { comments_template(); } ?>

   </div><!-- #left-col end -->

   <?php get_sidebar(); ?>

  </div><!-- #middle-contents end -->

<?php get_footer(); ?>
Return current item: Photospace Gallery