-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.php
48 lines (30 loc) · 1.22 KB
/
functions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
function mytheme_comment($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
<li <?php comment_class(); ?> id="li-comment-<?php comment_ID() ?>">
<div id="comment-<?php comment_ID(); ?>">
<div class="comment-avatar">
<?php echo get_avatar($comment,$size='50' ); ?>
</div>
<div class="comment-pointer"> </div>
<div class="comment-wrap<?php if(get_comment_author_email()=='dwiasharialdy@gmail.com'){ print(' me'); }?>" >
<div class="comment-author vcard">
<?php printf(__('<span class="fn">%s</span>'), get_comment_author_link()) ?>
<span class="comment-meta commentmetadata">
<?php printf(__('%1$s at %2$s'), get_comment_date(), get_comment_time()) ?>
</span>
</div>
<div class="comment-content">
<?php if ($comment->comment_approved == '0') : ?>
<em><?php _e('Your comment is awaiting moderation.') ?></em>
<br />
<?php endif; ?>
<?php comment_text() ?>
<?php edit_comment_link(__('(Edit)'),' ','') ?>
</div>
</div>
</div>
</li>
<?php
}
?>