Changeset 780 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-handbook.php
- Timestamp:
- 08/12/2014 06:20:51 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-handbook.php
r591 r780 6 6 */ 7 7 ?> 8 <li id="prologue-<?php the_ID(); ?>" <?php post_class(); ?>>9 <h4>10 <span class="meta">11 <span class="actions">12 <a href="<?php the_permalink(); ?>" class="thepermalink printer-only" title="<?php esc_attr_e( 'Permalink', 'wporg' ); ?>"><?php _e( 'Permalink', 'wporg' ); ?></a>13 <?php14 if ( comments_open() && ! post_password_required() ) {15 echo post_reply_link( array(16 'before' => isset( $before_reply_link ) ? $before_reply_link : '',17 'after' => '',18 'reply_text' => __( 'Reply', 'wporg' ),19 'add_below' => 'comments'20 ), get_the_ID() );21 }22 8 23 if ( current_user_can( 'edit_post', get_the_ID() ) ) : ?> | <a href="<?php echo ( get_edit_post_link( get_the_ID() ) ); ?>" class="edit-post-link" rel="<?php the_ID(); ?>" title="<?php esc_attr_e( 'Edit', 'wporg' ); ?>"><?php _e( 'Edit', 'wporg' ); ?></a> 24 <?php endif; ?> 9 <h1><?php the_title(); ?></h1> 25 10 26 <?php do_action( 'wporg_action_links' ); ?> 27 </span> 28 <?php if ( is_object_in_taxonomy( get_post_type(), 'post_tag' ) ) : ?> 29 <span class="tags"> 30 <?php tags_with_count( '', __( '<br />Tags:' , 'wporg' ) .' ', ', ', ' ' ); ?> 31 </span> 32 <?php endif; ?> 33 </span> 34 </h4> 11 <?php 12 /* 13 * Content 14 */ 15 ?> 35 16 36 <?php 37 /* 38 * Content 39 */ 40 ?> 17 <?php the_content( __( '(More ...)' , 'wporg' ) ); ?> 41 18 42 <div id="content-<?php the_ID(); ?>" class="postcontent"> 43 <?php the_content( __( '(More ...)' , 'wporg' ) ); ?> 44 </div> 45 46 <?php 47 /* 48 * Comments 49 */ 50 51 $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>'; 52 53 $comment_notes_before = '<p class="comment-notes">' . ( get_option( 'require_name_email' ) ? sprintf( ' ' . __( 'Required fields are marked %s', 'wporg' ), '<span class="required">*</span>' ) : '' ) . '</p>'; 54 55 $wporg_comment_args = array( 56 'title_reply' => __( 'Reply', 'wporg' ), 57 'comment_field' => $comment_field, 58 'comment_notes_before' => $comment_notes_before, 59 'comment_notes_after' => '<span class="progress spinner-comment-new"></span>', 60 'label_submit' => __( 'Reply', 'wporg' ), 61 'id_submit' => 'comment-submit', 62 ); 63 64 ?> 65 66 <?php if ( get_comments_number() > 0 && ! post_password_required() ) : ?> 67 <div class="discussion" style="display: none"> 68 <p> 69 <?php wporg_discussion_links(); ?> 70 <a href="#" class="show-comments"><?php _e( 'Toggle Comments', 'wporg' ); ?></a> 71 </p> 72 </div> 73 <?php endif; 74 75 wp_link_pages( array( 'before' => '<p class="page-nav">' . __( 'Pages:', 'wporg' ) ) ); ?> 76 77 <div class="bottom-of-entry"> </div> 78 79 </li> 19 <div class="bottom-of-entry"> </div>
Note: See TracChangeset
for help on using the changeset viewer.