���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/righteousmag.com/wp-content__a986334/themes/theme/inc/comments-modifications.php
���ѧ٧ѧ�
<?php /** * Custom Comment Area Modification * @package Appside * @since 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } if ( ! function_exists( 'appside_comment_modification' ) ) { function appside_comment_modification($comment, $args, $depth) { $GLOBALS['comment'] = $comment; extract($args, EXTR_SKIP); if ( 'div' == $args['style'] ) { $tag = 'div'; $add_below = 'comment'; } else { $tag = 'li'; $add_below = 'div-comment'; } $comment_class = empty( $args['has_children'] ) ? '' : 'parent'; ?> <<?php echo esc_attr($tag); ?> <?php comment_class('item ' . $comment_class .' ' ); ?> id="comment-<?php comment_ID() ?>"> <?php if ( 'div' != $args['style'] ) : ?> <div id="div-comment-<?php comment_ID() ?>" class=""> <?php endif; ?> <div class="single-comment-wrap"><!-- single comment wrap --> <?php if(get_comment_type(get_comment_ID()) == 'comment'):?> <div class="thumb"> <?php if ( $args['avatar_size'] != 0 ) { echo get_avatar( $comment, 80 ); } ?> </div> <?php endif;?> <div class="content"> <h4 class="title"><?php printf( '%s', get_comment_author() ); ?></h4> <?php if ( $comment->comment_approved == '0' ) : ?> <em class="comment-awaiting-moderation"><?php echo esc_html__( 'Your comment is awaiting moderation.', 'aapside' ); ?></em> <?php endif; ?> <div class="comment-content"> <ul class="xg-comments-meta"> <li class="comment-date"> <?php printf('<span class="date">%s</span>',get_comment_date('d M Y')); ?> </li> <li class="comment-reply-link"> <?php comment_reply_link( array_merge( $args, array( 'reply_text' => esc_html__('Reply','aapside') , 'before' => '', 'class' => '', 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?> </li> </ul> <?php comment_text(); ?> </div> </div> </div><!-- //. single comment wrap --> <?php if ( 'div' != $args['style'] ) : ?> </div> <?php endif; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�