Guest User

Untitled

a guest
Aug 21st, 2012
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. <?php
  2. /**
  3. * @package WordPress
  4. * @subpackage PulsePress
  5. */
  6. ?>
  7. <?php get_header(); ?>
  8.  
  9. <div class="sleeve_main">&nbsp;
  10.  
  11. <div id="main">
  12. <?php pulse_press_breadcrumbs(); ?>
  13. <?php if ( have_posts() ) : ?>
  14.  
  15. <?php while ( have_posts() ) : the_post(); ?>
  16. <h1 id="page-title"><?php the_title(); ?></h1>
  17. <?php the_content(); ?>
  18. <div class="bottom_of_entry">&nbsp;</div>
  19. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'pulse_press' ), 'after' => '</div>' ) ); ?>
  20. <?php edit_post_link( __( 'Edit', 'pulse_press' ), '<span class="edit-link">', '</span>' ); ?>
  21.  
  22.  
  23.  
  24. <?php if ( ! pulse_press_is_ajax_request() ) : ?>
  25.  
  26. <?php comments_template(); ?>
  27. <?php $pc = 0; ?>
  28. <?php if ( pulse_press_show_comment_form() && $pc == 0 && ! post_password_required() ) : ?>
  29. <?php $pc++; ?>
  30. <div class="respond-wrap"<?php if ( ! is_singular() ): ?> style="display: none; "<?php endif; ?>>
  31. <?php
  32.  
  33.  
  34. $pulse_press_comment_args = array(
  35. 'title_reply' => __( 'Reply', 'pulse_press' ),
  36. 'comment_field' => '<div class="form"><textarea id="comment" class="expand50-100" name="comment" cols="45" rows="3"></textarea></div> <label class="post-error" for="comment" id="commenttext_error"></label>',
  37. 'comment_notes_before' => '<p class="comment-notes">' . ( get_option( 'require_name_email' ) ? sprintf( ' ' . __('Required fields are marked %s','pulse_press'), '<span class="required">*</span>' ) : '' ) . '</p>',
  38. 'comment_notes_after' => sprintf(
  39. '<span class="progress"><img src="%1$s" alt="%2$s" title="%2$s" /></span>',
  40. str_replace( WP_CONTENT_DIR, content_url(), locate_template( array( "i/indicator.gif" ) ) ),
  41. esc_attr( 'Loading...', 'pulse_press' )
  42. ),
  43. 'label_submit' => __( 'Reply', 'pulse_press' ),
  44. 'id_submit' => 'comment-submit',
  45. );
  46. if( pulse_press_get_option( 'limit_comments' ) )
  47. $pulse_press_comment_args['comment_field'] = '<div class="form"><textarea id="comment" class="expand50-100" name="comment" maxlength="140" cols="45" rows="3"></textarea></div> <label class="post-error" for="comment" id="commenttext_error"></label>';
  48. comment_form( $pulse_press_comment_args );
  49. ?>
  50. </div>
  51. <?php endif; ?>
  52. <?php endif; ?>
  53. <?php endwhile; ?>
  54.  
  55. <?php endif; ?>
  56.  
  57.  
  58. </div> <!-- main -->
  59.  
  60. </div> <!-- sleeve -->
  61.  
  62. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment