I found the code, but I don’t know how to apply two separate styles within one set of <div> tags. All I really need to do is align the reply link to the right, and I’ll be happy. Could anyone help? Here’s the code:
<div class="comment-author vcard">
<?php printf(__('<cite class="fn">%s</cite>'),
get_comment_author_link()) ?>
<div class="reply">
<?php comment_reply_link(array_merge( $args, array('depth'
=> $depth, 'max_depth' => $args['max_depth']))) ?>
</div>
</div>
<div class="comment-meta commentmetadata">
<a href="<?php echo htmlspecialchars( get_comment_link(
$comment->comment_ID ) ) ?>"><?php printf(__('%1$s at
%2$s'), get_comment_date(), get_comment_time()) ?></a>
<?php edit_comment_link(__('(Edit)'),' ','') ?>
</div>
I can move the Reply link on the same line with the date by doing this:
<div class="comment-author vcard">
<?php printf(__('<cite class="fn">%s</cite>'),
get_comment_author_link()) ?>
</div>
<div class="comment-meta commentmetadata">
<a href="<?php echo htmlspecialchars( get_comment_link(
$comment->comment_ID ) ) ?>"><?php printf(__('%1$s at
%2$s'), get_comment_date(), get_comment_time()) ?></a>
<?php edit_comment_link(__('(Edit)'),' ','') ?>
<class="reply">
<?php comment_reply_link(array_merge( $args, array('depth'
=> $depth, 'max_depth' => $args['max_depth']))) ?>
</div>
but then, of course, the “reply” class can’t be used because it’s inside the <div> tag with the class “comment-meta commentmetadata”. Could anyone tell me how I could align the Reply link to the right in this case? I tried applying the replay class like with <reply></reply>, but it didn’t have any effect.
Thank you to anyone who will help!