Location: PHPKode > scripts > Photospace Gallery > photospace theme download/photospace/page-contact.php
<?php
/*
Template Name: Contact page
*/
?> 
<?php get_header(); ?>

<?php
if(have_posts()){
    while(have_posts()){
        the_post();
        $title=get_the_title();
        $pageId=get_the_ID();
        $content=get_the_content();
    }
}
?>

<?php $options = get_option('pb_options'); ?>

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

   <div id="left-col" class="contact">

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

    <div class="post" id="single">
     <h2><?php the_title(); ?></h2>
	 
     <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; ?>


   </div><!-- #left-col end -->
   
   <div id="right-col" class="contact">
   		<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('contact form') ) : ?>
		<?php endif; ?>	
   </div> 

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

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