Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <section class="comment-content comment">
- <?php comment_text(); ?>
- <?php edit_comment_link( __( 'Edit', 'techism' ), '<p class="edit-link">', '</p>' ); ?>
- </section><!-- .comment-content -->
- <div class="reply">
- <?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply', 'techism' ), 'after' => ' <span>↓</span>', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
- </div><!-- .reply -->
- </article><!-- #comment-## -->
- <?php
- break;
- endswitch; // end comment_type check
- // Translators: used between list items, there is a space after the comma.
- $tag_list = get_the_tag_list( '', __( ', ', 'techism' ) );
- $date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a>',
- esc_url( get_permalink() ),
- esc_attr( get_the_time() ),
- esc_attr( get_the_date( 'c' ) ),
- esc_html( get_the_date() )
- );
- $author = sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>',
- esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
- esc_attr( sprintf( __( 'View all posts by %s', 'techism' ), get_the_author() ) ),
- get_the_author()
- );
- // Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name.
- if ( $tag_list ) {
- $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s<span class="by-author"> by %4$s</span>.', 'techism' );
- } elseif ( $categories_list ) {
- $utility_text = __( 'This entry was posted in %1$s on %3$s<span class="by-author"> by %4$s</span>.', 'techism' );
- } else {
- $utility_text = __( 'This entry was posted on %3$s<span class="by-author"> by %4$s</span>.', 'techism' );
- }
- printf(
- $utility_text,
- $categories_list,
- $tag_list,
- $date,
- $author
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement