Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Social 0.1.8 by Utkarsh Kukreti


paulhastings0
Participant

@paulhastings0

Well actually I’ve gone through all of my themes and edited the comments.php file. I found all the code like this:

<?php foreach ($comments as $comment) : ?>

<li class="comment <?php echo $oddcomment; ?>" id="comment-<?php comment_ID();$ix++; ?>"> ">#

<?= $ix; ?>

<!-- display avatars -->

<?php if (function_exists('get_avatar')) { ?>

<?php echo get_avatar(get_comment_author_email(), '32'); ?>

<?php } ?>

  

<?php comment_author_link() ?>

Says:

<?php if ($comment->comment_approved == '0') : ?>

<?php _e('Your comment is awaiting moderation.');?>

<?php endif; ?>

<small class="commentmetadata">" title="">

<?php comment_date('F jS, Y') ?> <?php _e('at');?> <?php comment_time() ?>

<?php edit_comment_link('e','',''); ?>

</small>

<?php comment_text() ?>

<?php /* Changes every other comment to a different class */

if ('alt' == $oddcomment) $oddcomment = '';

else $oddcomment = 'alt';

?>

<?php endforeach; /* end for each comment */ ?>

and replaced it with code the following code:

<?php wp_list_comments(); ?>

Then I went through my css files and changed them accordingly. Big pain but it worked for now.

Skip to toolbar