Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function hateyour_comment($comment, $args, $depth) {
- $GLOBALS['comment'] = $comment;
- extract($args, EXTR_SKIP);
- if ( 'div' == $args['style'] ) {
- $tag = '';
- $add_below = 'comment';
- } else {
- $tag = '';
- $add_below = 'div-comment';
- }
- ?>
- <blockquote>
- <?php printf( __( '<div class="header">%s says</div>' ), get_comment_author_link() ); ?>
- <?php if ( $comment->comment_approved == '0' ) : ?>
- <?php _e( 'Your comment is awaiting moderation.' ); ?>
- <br />
- <?php endif; ?>
- <a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ); ?>">
- <?php
- /* translators: 1: date, 2: time */
- printf( __('%1$s at %2$s'), get_comment_date(), get_comment_time() ); ?></a> > <?php comment_reply_link( array_merge( $args, array( 'add_below' => $add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?><?php comment_text(); ?>
- </blockquote>
- <?php if ( 'div' != $args['style'] ) : ?>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement