Title: Another comments plug-in
Last modified: August 18, 2016

---

# Another comments plug-in

 *  [rcs1000](https://wordpress.org/support/users/rcs1000/)
 * (@rcs1000)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/another-comments-plug-in/)
 * Hi,
    I looked around the various “latest comments” hacks available for WordPress,
   and found them all a little sparse for my liking. I have written a more decorative
   one, and it can be seen at [http://testbed.amoral.org](http://testbed.amoral.org)(
   despite the URL it’s really nothing dodgy; it’s just my dad’s political commentary
   blog.) Now, I would love to contribute this back to the WordPress community, 
   if they want it! Two questions: (1) Is it a useful enough hack that anyone is
   interested? (2) If it is, how do I hand the code over? Regards, Robert

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

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/another-comments-plug-in/#post-117707)
 * 1. Can you explain in a little more detail what the code does ? (I can see it,
   but it’ll need a description if it’s to be distributed)
    2. Is it a plugin ? 
   or a Hack ?
 *  Thread Starter [rcs1000](https://wordpress.org/support/users/rcs1000/)
 * (@rcs1000)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/another-comments-plug-in/#post-117781)
 * I was using WordPress 1.0.1. So, I had no access to plug-ins. I am currently 
   upgrading to 1.2 to turn it into a plug-in rather than a hack.
    I will post again
   once I have changed it. Thanks, Robert ps (the upgrade hss, of course, temporarily
   removed the comment hack – if you still want to see it, it is at [http://www.politicalbetting.com)](http://www.politicalbetting.com))
 *  Thread Starter [rcs1000](https://wordpress.org/support/users/rcs1000/)
 * (@rcs1000)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/another-comments-plug-in/#post-117807)
 * OK Podz,
    Details: latest_comments.php is now a plug-in. The plug-in contains
   a function taking two variables: the number of comments you wish to display and
   the amount of each comment you wish to show. The function is simple: it runs 
   a query on the wp_comments table, pulls out the data, and formats it. About 40
   lines of code. Nothing spectacularly difficult, but I like the effect. Regards,
   Robert
 *  Thread Starter [rcs1000](https://wordpress.org/support/users/rcs1000/)
 * (@rcs1000)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/another-comments-plug-in/#post-117808)
 * Oh yes; and it can be seen in action – again – at [http://testbed.amoral.org](http://testbed.amoral.org)
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/another-comments-plug-in/#post-117811)
 * Robert – I was just editing the wiki to add this, and I needed the link for the
   plugin code… so I came back here to get it ….. and .. erm… ?
    🙂
 *  [Chadwick](https://wordpress.org/support/users/chadwick/)
 * (@chadwick)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/another-comments-plug-in/#post-117824)
 * yes the code would be nice to get.. i wouldn’t mind pop in this on to my site
 *  Thread Starter [rcs1000](https://wordpress.org/support/users/rcs1000/)
 * (@rcs1000)
 * [21 years, 6 months ago](https://wordpress.org/support/topic/another-comments-plug-in/#post-117825)
 * The plug-in can be downloaded here (I wasn’t feeling particularly smart last 
   night, I had a nightmare system administration problem, that turned out to simply
   be due to someone else on another VM taking all the CPU time…):
    [http://amoral.org/latest_comments.php.txt](http://amoral.org/latest_comments.php.txt)
   Thanks Robert
 *  Anonymous
 * [21 years, 5 months ago](https://wordpress.org/support/topic/another-comments-plug-in/#post-117900)
 * How do I make it display? ToT thanks
 *  [bleucube](https://wordpress.org/support/users/bleucube/)
 * (@bleucube)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/another-comments-plug-in/#post-117902)
 * Yes – Good question. How do you add it?
    <?php LatestComments; ?> Thanks!
 *  [bleucube](https://wordpress.org/support/users/bleucube/)
 * (@bleucube)
 * [21 years, 5 months ago](https://wordpress.org/support/topic/another-comments-plug-in/#post-117903)
 * Never mind… Im a bit slow.
    I got it. Works great thanks for the plugin! <?php
   LatestComments(5,20); ?>
 *  [mattnaugle2](https://wordpress.org/support/users/mattnaugle2/)
 * (@mattnaugle2)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/another-comments-plug-in/#post-117959)
 * It works great!
 * But how do I make the text “break” to the next line if one line is too long? 
   for example, if someone entered in a long url to a newspaper address, i want 
   it to be broken into multiple lines.
 *  [mattnaugle2](https://wordpress.org/support/users/mattnaugle2/)
 * (@mattnaugle2)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/another-comments-plug-in/#post-117960)
 * (Sorry- Double post.)

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

The topic ‘Another comments plug-in’ is closed to new replies.

 * 12 replies
 * 6 participants
 * Last reply from: [mattnaugle2](https://wordpress.org/support/users/mattnaugle2/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/another-comments-plug-in/#post-117960)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
