1. <?php
  2. /**
  3. * @package WordPress
  4. * @subpackage Coraline
  5. * @since Coraline 1.0
  6. */
  7.  
  8. get_header(); ?>
  9.  
  10. <div id="content-container">
  11. <div id="content" role="main">
  12.  
  13. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  14.  
  15. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  16. <?php if ( is_front_page() ) { ?>
  17. <h2 class="entry-title"><?php the_title(); ?></h2>
  18. <?php } else { ?>
  19. <h1 class="entry-title"><?php the_title(); ?></h1>
  20. <?php } ?>
  21.  
  22. <div class="entry-content">
  23. <?php the_content(); ?>
  24. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'coraline' ), 'after' => '</div>' ) ); ?>
  25. <?php edit_post_link( __( 'Edit', 'coraline' ), '<span class="edit-link">', '</span>' ); ?>
  26. </div><!-- .entry-content -->
  27. </div><!-- #post-## -->
  28.  
  29. <!-- nuffnang -->
  30. <script type="text/javascript">
  31. nuffnang_bid = "2b34fbfee6948e937dccea38570196f3";
  32. </script>
  33. <script type="text/javascript" src="http://synad2.nuffnang.com.my/j.js"></script>
  34. <!-- nuffnang-->
  35.  
  36.  
  37.  
  38.  
  39. <?php comments_template( '', true ); ?>
  40.  
  41. <?php endwhile; ?>
  42.  
  43. </div><!-- #content -->
  44. </div><!-- #content-container -->
  45.  
  46. <?php get_sidebar(); ?>
  47. <?php get_footer(); ?>
  48.