Advertisement
Guest User

Untitled

a guest
Aug 7th, 2012
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. <?php global $wallow_options; ?>
  2.  
  3. <?php get_header(); ?>
  4.  
  5. <div id="content">
  6.  
  7. <?php if ( have_posts() ) {
  8. while ( have_posts() ) : the_post(); ?>
  9.  
  10. <h2 class="posts_date">&nbsp;</h2>
  11.  
  12. <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  13. <?php if ( $wallow_options['wallow_pthumb'] ) the_post_thumbnail( array( $wallow_options['wallow_pthumb_size'], $wallow_options['wallow_pthumb_size'] ), array( 'class' => 'alignleft' ) ); ?>
  14. <h3 class="storytitle">
  15. <a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a>
  16. </h3>
  17.  
  18. <div class="meta">
  19. <?php if ( comments_open()) { comments_popup_link( __( 'Leave a comment', 'wallow' ), __( '1 Comment', 'wallow' ), __( '% Comments', 'wallow' ) ); }; ?> <?php edit_post_link( __( 'Edit', 'wallow' ), ' &#8212; ' ); ?>
  20. <?php wallow_multipages(); ?>
  21. </div>
  22.  
  23. <div class="storycontent">
  24. <?php
  25. the_content();
  26. ?>
  27. </div>
  28.  
  29. <div>
  30. <?php wp_link_pages( 'before=<div class="meta comment_tools">' . __( 'Pages', 'wallow' ) . ':&after=</div>' ); ?>
  31. </div>
  32. <div class="fixfloat"></div>
  33. </div>
  34.  
  35. <?php if ( comments_open() || pings_open() ) { ?>
  36. <div class="meta comment_tools">
  37. <?php if ( comments_open() && is_singular() ) { ?>
  38. <?php post_comments_feed_link( '<abbr title="Really Simple Syndication">RSS</abbr> ' . __( 'feed for comments on this post', 'wallow' ) ); ?>
  39. <?php } ?>
  40. <?php if ( pings_open() ) { ?>
  41. <?php if ( comments_open() && is_singular() ) { ?>
  42. |
  43. <?php } ?>
  44. <a href="<?php trackback_url() ?>" rel="trackback"><?php _e( 'TrackBack URL', 'wallow' ); ?></a>
  45. <?php } ?>
  46. <?php if ( comments_open() && is_singular() ) { ?>
  47. | <a href="#postcomment" title="<?php _e( 'Leave a comment', 'wallow' ); ?>"><?php _e( 'Leave a comment', 'wallow' ); ?></a>
  48. <?php } ?>
  49. </div>
  50. <div class="fixfloat"></div>
  51. <?php } ?>
  52.  
  53. <?php comments_template(); // Get wp-comments.php template ?>
  54.  
  55. <?php endwhile; } ?>
  56.  
  57. </div>
  58.  
  59. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement