Title: Comment Leader Hack
Last modified: August 18, 2016

---

# Comment Leader Hack

 *  Resolved doniboy
 * [22 years, 4 months ago](https://wordpress.org/support/topic/comment-leader-hack/)
 * Not real familiar with WP yet, so alert me of any problems.
    **Download** [wp_comment_leaders](http://www.verbalexpressions.com/ws_cl.php)**
   Tag** `<?php get_comment_leaders(); ?>` **Arguments Definition:**
    1. A number that limits the amount of records that are to be shown. (default’s ‘
       5’)
    2. A string that excludes certain names from appearing in the list. Separate multiple
       names with a comma.
    3. A number: pads the visitor’s total comment count with zeros.
    4. A string to display before the record.
    5.  A string to display after the record. (default is a line break ‘
       ‘)
    6. **Example**
        `<?php get_comment_leaders( 10, "admin_name, spammer_name", 3, '`
    7. ', '
    8. '); ?>

Viewing 9 replies - 31 through 39 (of 39 total)

[←](https://wordpress.org/support/topic/comment-leader-hack/page/2/?output_format=md)
[1](https://wordpress.org/support/topic/comment-leader-hack/?output_format=md) [2](https://wordpress.org/support/topic/comment-leader-hack/page/2/?output_format=md)
3

 *  Thread Starter Anonymous
 * [22 years, 4 months ago](https://wordpress.org/support/topic/comment-leader-hack/page/3/#post-33930)
 * Thanks good job.
 *  [divina](https://wordpress.org/support/users/divina/)
 * (@divina)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/comment-leader-hack/page/3/#post-33933)
 * Excellent. And so easy to add. Thank you! 🙂
 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/comment-leader-hack/page/3/#post-33964)
 * Daisyhead, you would be correct. I don’t believe in popupwindows, so for me it
   isn’t a problem.
    As for your second query. Sure, you might need to go into the
   code, and add what ever HTML you want around it (like list itels (li tags) or
   line breaks (br tags). TG
 *  [daisyhead](https://wordpress.org/support/users/daisyhead/)
 * (@daisyhead)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/comment-leader-hack/page/3/#post-34023)
 * I’ve tried tweaking the code to make my output look like this:
 * >  Jess – 184 total
   >  last commented: (date of last comment) on entry: (entry 
   > title last commented on w/link to entry)
 * But when I start messing with it, it throws errors. Can anyone cheat for me and
   post what the actual code would look like to get my output to look like what’s
   above? Pwetty pwease??
    Thanks, Daisyhead
 *  [wxgal](https://wordpress.org/support/users/wxgal/)
 * (@wxgal)
 * [21 years, 12 months ago](https://wordpress.org/support/topic/comment-leader-hack/page/3/#post-34064)
 * I just tried both links in this thread for this script/plugin. Neither one worked.
   I wanted to add this to my blog. I was gonna try to come up with it myself, but
   if it’s already been done, then there’s no need to reinvent the wheel.
    If anyone
   can point me to the updated script/plugin, I’d be eternally greatful.
 *  Thread Starter Anonymous
 * [21 years, 11 months ago](https://wordpress.org/support/topic/comment-leader-hack/page/3/#post-34065)
 * [here](http://thedailylife.org/ee/storage/plugins/wp_comment_leaders.zip)
 *  [shadow](https://wordpress.org/support/users/shadow/)
 * (@shadow)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/comment-leader-hack/page/3/#post-34066)
 * Hi,
    Pardon my ignorance, but is this a plugin or do I need to make a my-hacks.
   php file? Sorry for my lack of knowledge… Thanks.
 *  [debwire](https://wordpress.org/support/users/debwire/)
 * (@debwire)
 * [21 years, 11 months ago](https://wordpress.org/support/topic/comment-leader-hack/page/3/#post-34067)
 * Yes, I’m wondering if this is a hack file or a plugin to be used for 1.2. It 
   seems like a hack file. Will this be made into a plugin?
 *  Thread Starter Anonymous
 * [21 years, 11 months ago](https://wordpress.org/support/topic/comment-leader-hack/page/3/#post-34068)
 * ditto to what debwire said 🙂

Viewing 9 replies - 31 through 39 (of 39 total)

[←](https://wordpress.org/support/topic/comment-leader-hack/page/2/?output_format=md)
[1](https://wordpress.org/support/topic/comment-leader-hack/?output_format=md) [2](https://wordpress.org/support/topic/comment-leader-hack/page/2/?output_format=md)
3

The topic ‘Comment Leader Hack’ is closed to new replies.

 * 39 replies
 * 12 participants
 * Last reply from: Anonymous
 * Last activity: [21 years, 11 months ago](https://wordpress.org/support/topic/comment-leader-hack/page/3/#post-34068)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
