Advertisement
Guest User

Untitled

a guest
Dec 19th, 2011
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. <?php
  2. /**
  3. * The template for displaying all pages.
  4. *
  5. *
  6. */
  7.  
  8. get_header(); ?>
  9.  
  10. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  11.  
  12. <div class="lastmess">
  13. <div class="container">
  14. <div class="grid10 first">
  15. <h1 class="entry-title"><?php the_title(); ?></h1>
  16. </div>
  17. <div class="grid2 dirr">
  18. <?php if (get_option('nets_reassdir')){ ?>
  19. <a href="<?php echo get_option('nets_reassdir'); ?>"><span><?php echo get_option('nets_sptdir'); ?></span></a>
  20. <?php } else { ?>
  21. <a class="vmp" href="#"><span><?php echo get_option('nets_sptdir'); ?></span></a>
  22. <?php } ?>
  23. </div>
  24. </div>
  25. </div>
  26. <div class="bodymid">
  27. <div class="stripetop">
  28. <div class="stripebot">
  29. <div class="container">
  30. <div class="mapdiv"></div>
  31. <div class="clear"></div>
  32. <div id="main">
  33. <div class="grid8 first">
  34. <div id="content" role="main">
  35. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  36.  
  37. <div class="entry-content">
  38. <?php the_content(); ?>
  39. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'wp-church' ), 'after' => '</div>' ) ); ?>
  40. <?php edit_post_link( __( 'Edit', 'wp-church' ), '<span class="edit-link">', '</span>' ); ?>
  41. </div><!-- .entry-content -->
  42. </div><!-- #post-## -->
  43. <?php if (get_option('nets_commpage') == 'true') {?>
  44. <?php comments_template( '', true ); ?>
  45. <?php } ?>
  46. <?php endwhile; ?>
  47.  
  48. </div><!-- #content -->
  49. </div><!-- #container -->
  50.  
  51. <?php get_sidebar(); ?>
  52. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement