Title: Editing comments.php !!!!
Last modified: August 19, 2016

---

# Editing comments.php !!!!

 *  [popcop](https://wordpress.org/support/users/popcop/)
 * (@popcop)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/editing-commentsphp/)
 * ive currently installed the twittar plugin to use the twitter avatars on the 
   comments page.
 * **It says:**
    _The last thing to do is open your comments.php file and find the
   comments loop._
 * Paste the following line in the comments loop:
 * <?php twittar(’45’, ‘default.png’, ‘#e9e9e9’, ‘twitavatars’, 1, ‘G’); ?>
 * i dont have a clue where to put it, can anyone help

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [felixkarlsson](https://wordpress.org/support/users/felixkarlsson/)
 * (@felixkarlsson)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/editing-commentsphp/#post-1152245)
 * Try to put it before: <?php endwhile; ?>
 *  Thread Starter [popcop](https://wordpress.org/support/users/popcop/)
 * (@popcop)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/editing-commentsphp/#post-1152247)
 * there doesnt seem to be <?php endwhile; ?> in the comments.php
 *  [felixkarlsson](https://wordpress.org/support/users/felixkarlsson/)
 * (@felixkarlsson)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/editing-commentsphp/#post-1152249)
 * Are you using the default theme, then go to single.php in …wordpress\wp-content\
   themes\default
 *  Thread Starter [popcop](https://wordpress.org/support/users/popcop/)
 * (@popcop)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/editing-commentsphp/#post-1152252)
 * just tried that, doesnt seem to work either
 * its ment to replace the comment avatars
 *  Thread Starter [popcop](https://wordpress.org/support/users/popcop/)
 * (@popcop)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/editing-commentsphp/#post-1152253)
 * The problem.
    Bloggers find Twitter very useful because it allows them to promote
   their blog and stay connected to other bloggers and their own audience. Because
   of Twitter’s popularity, why not illustrate comments with Twitter avatars instead
   of the normal gravatars?
 * The solution.
 * The first thing to do is get the functions file here.
    Once you have that, unzip
   the archive to your hard drive, and then open the twittar.php file. Select all
   of its content and paste it to your blog’s functions.php file. The last thing
   to do is open your comments.php file and find the comments loop. Paste the following
   line in the comments loop: <?php twittar(’45’, ‘default.png’, ‘#e9e9e9’, ‘twitavatars’,
   1, ‘G’); ?> Code explanation. Some months ago here at Smashing Magazine, an awesome
   plug-in named Twittar was released. Its purpose is to allow you to use Twitter
   avatars on your WordPress blog. Because of the number of requests I received 
   from WpRecipes.com readers, I decided to turn the plug-in into a hack, for people
   who prefer hacks to plug-ins.
 * Of course, you could simply install the plug-in rather than insert its content
   into your function.php file. It’s up to you.
 *  Thread Starter [popcop](https://wordpress.org/support/users/popcop/)
 * (@popcop)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/editing-commentsphp/#post-1152261)
 * anyone any indeas ?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Editing comments.php !!!!’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [twitter](https://wordpress.org/support/topic-tag/twitter/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [popcop](https://wordpress.org/support/users/popcop/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/editing-commentsphp/#post-1152261)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
