Title: icedtears's Replies | WordPress.org

---

# icedtears

  [  ](https://wordpress.org/support/users/icedtears/)

 *   [Profile](https://wordpress.org/support/users/icedtears/)
 *   [Topics Started](https://wordpress.org/support/users/icedtears/topics/)
 *   [Replies Created](https://wordpress.org/support/users/icedtears/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/icedtears/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/icedtears/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/icedtears/engagements/)
 *   [Favorites](https://wordpress.org/support/users/icedtears/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Comment Plugger Help](https://wordpress.org/support/topic/comment-plugger-help/)
 *  Thread Starter [icedtears](https://wordpress.org/support/users/icedtears/)
 * (@icedtears)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/comment-plugger-help/#post-86569)
 * I changed the code a bit, but all the commenting links open in new windows! Yea!!:):):)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Comment Plugger Help](https://wordpress.org/support/topic/comment-plugger-help/)
 *  Thread Starter [icedtears](https://wordpress.org/support/users/icedtears/)
 * (@icedtears)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/comment-plugger-help/#post-86568)
 * Got it! 🙂
    `<?php /* 1. Include the code below in the index file. 2. Use one
   of these functions to display commenters: <?php comment_plugger(0); ?> - show
   commenters from current post <?php comment_plugger(1); ?> - show commenters from
   last post */ function comment_plugger($show = 0, $limit = 0, $sep = ', ', $none
   = ' none') { global $wpdb, $tablecomments, $id; $cid = ($show) ? ($id - 1) : 
   $id; $request = "SELECT DISTINCT comment_author_url, comment_author FROM $tablecomments";
   $request .= " WHERE comment_post_ID='$cid' AND comment_author <> '' AND comment_author_url
   <> ''"; $request .= ' ORDER BY comment_author ASC'; $request .= ($limit > 0) ?"
   LIMIT $limit" : ''; $commenters = $wpdb->get_results($request); if ($commenters){
   $output = ''; foreach ($commenters as $commenter) { if (!empty($commenter->comment_author_url)){
   $output[] = '[comment_author_url.'" title="'.$commenter->comment_author.'" target="new">'.$commenter->comment_author.'](https://wordpress.org/support/users/icedtears/replies/"&apos;.$commenter-?output_format=md)';}}}
   if (is_array($output)) { echo implode($sep, $output); } else { echo $none; } }?
   >
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Comment Plugger Help](https://wordpress.org/support/topic/comment-plugger-help/)
 *  Thread Starter [icedtears](https://wordpress.org/support/users/icedtears/)
 * (@icedtears)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/comment-plugger-help/#post-86565)
 * Thanks, anyone have an answer?

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