Plugin: Comment Plugger
Gives a list of people who comment on your post, with a link to their site if they provided one.
This has been tested on version 2.8.4.
- First, download the latest version of
Comment Plugger - Extract the file.
- Open up comment-plugger.php.
- Edit it to how your want it to look like.
- Save your changes
- Upload comment-plugger.php to your /wp-content/plugins/ folder.
- Go to your WordPress admind panel » Plugins.
Look for Comment Plugger, and activate it. - Put this code where you want the list of people to appear:
<?php mdv_comment_plugger(); ?>
Note: It is usually placed inside the file called index.php. - You’re done.
Editing Comment Plugger
This line tells the script how many people you want it to list.
function mdv_comment_plugger($before = ”, $limit = 10) {
Change 10 to the number of links you want to display
These lines tells the script how you want it to look like:
$output .= ‘<li><a href=”‘ .
$commenter->comment_author_url . ‘” title=”Visit ‘ .
$commenter->comment_author . ‘”>’ .
$commenter->comment_author . ‘</a> </li>’;
else
$output .= ‘<li>’ . $commenter->comment_author . ‘ </li>’;
}
}
echo $before . ‘<ul>’ . $output . ‘</ul>’;
This is how a sample of how begrudged’s codes used to look like:
$output .= ‘<a href=”‘ .
$commenter->comment_author_url . ‘” title=”Visit ‘ .
$commenter->comment_author . ‘ Website”>’ .
$commenter->comment_author . ‘</a> ‘;
else
$output .= ‘ ‘ . $commenter->comment_author . ‘ ‘;
}
}
echo $before . ” . $output . ‘ ‘;