Get Author's Comments
This plugin allows to display or retrieve comments posted by a user. In order to avoid homonyms, a user is identified by his name and email(s).
Envisager une alternative
Get Author's Comments shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 17 years ago, and scores 23/100 on our health check.
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
- No update in 17 years
- Uniquement testé jusqu'à WordPress2,9 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Get Author's Comments stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| author | >100 |
| commentaire | >100 |
| les commentaires | >100 |
| recherche | >100 |
Adoption de version
Part de sites actifs par version.
About Get Author's Comments
À partir du Lisez-moi officiel · v1.1.0Description
This plugin allows to display or retrieve comments posted by a user. In order to avoid homonyms, a user is identified by his name and email(s).
Note: Get Author’s Comments uses the function wp_list_comments introduced by WordPress 2.7 for the (x)HTML output.
Usage
Display all comments of a specific user in the current post
<?php
<ol>
<?php ppm_author_comments('piouPiouM', 'foo@example.com'); ?>
</ol>
?>
or, if piouPiouM wrote with two different emails:
<?php
<ol>
<?php ppm_author_comments('piouPiouM', array('foo@example.com', 'bar@example.org')); ?>
</ol>
?>
Display all comments posted by a user
<?php
<ol>
<?php ppm_author_comments('piouPiouM', 'foo@example.com', null, 'all=1'); ?>
</ol>
?>
Display comments wrote by a user in the post of ID number 9
<?php
<ol>
<?php ppm_author_comments('piouPiouM', 'foo@example.com', 9); ?>
</ol>
?>
Note: If you used the tags ppm_author_comments or ppm_get_author_comments whithin The Loop, the parameter $postID will be replaced automatically by the numeric ID of the current post.
Lastest comments ordered by post_ID
To show the last ten piouPiouM’s comments sorted by post_ID in ascending order, the following will display their comment date and excerpt:
<?php
$comments = ppm_get_author_comments('piouPiouM', 'foo@example.com', null, 'number=10&order=ASC&orderby=post_id');
foreach ($comments as $comment):
?>
<p><cite><?php comment_author_link() ?></cite> says:</p>
<ol>
<li>
<p>Comment posted on <?php comment_date('n-j-Y'); ?>:<br/></p>
<p><?php comment_excerpt(); ?></p>
</li>
</ol>
<?php endforeach; ?>
Comments with a custom comment display
<?php
<ol>
<?php ppm_author_comments('piouPiouM', 'info@example.com', null, 'callback=mytheme_comment'); ?>
</ol>
?>
See Comments Only With A Custom Comment Display for an example of a custom callback function.
Show the total number of comments posted by a user on the site
<?php
get_currentuserinfo();
$comments = ppm_get_author_comments($current_user->display_name, $current_user->user_email, null, 'all=1');
printf('Hello ! <a href="/author/%s/">%s</a>! '
. '[ <a href="%s" class="logout">Log Out</a> ]<br/>'
. '%d posts and %d comments',
$current_user->user_login,
$current_user->display_name,
wp_logout_url(),
get_usernumposts($current_user->ID),
count($comments));
?><h3>Parameters</h3>
all
(boolean) (optional) Retrieve all comments. Default to FALSE.
number
(integer) (optional) Number of comments to return. Default to None, returns all comments.
offset
(integer) (optional) Offset from latest comment. Default to 0.
orderby
(string) (optional) Sort posts by one of various values (separated by space), including:
'comment_ID'– Sort by numeric comment ID.'content'– Sort by content.'date'– Sort by creation date. (Default)'post_ID'– Sort by post ID.'rand'– Sort in random order.'status'– Sort by status.'type'– Sort by type.
order
(string) (optional) Sort order, ascending or descending for the orderby parameter. Valid values:
'ASC'– Ascending (lowest to highest).'DESC'– Descending (highest to lowest). (Default)
output
(string) (optional) How you’d like the result. Only for ppm_get_author_comments.
OBJECT– Returns an object. (Default)ARRAY_A– Returns an associative array of field names to values.ARRAY_N– Returns a numeric array of field values.HTML– Returns a (x)HTML version generated by wp_list_comments.
status
(string) (optional) The comments status. Default to hold and approve. Valid values:
'hold'– Unapproved.'approve'– Approved.'spam'– Spam.
Installation
Get Author’s Comments is installed in 3 easy steps:
- Upload
get_authors_comments.phpto the/wp-content/plugins/directory. - Activate
Get Author's Commentsthrough the Plugins menu in WordPress. -
Add in your theme:
<?php if (function_exist('ppm_author_comments')): ?> <ol> <?php ppm_author_comments('name', 'email', 'post_ID', 'args') ?> </ol> <?php endif ?>
Journal de modifications
1.1.0
- Support a new
allargument for retrieves all comments posted by a user. - Add changelog and additional examples.
1.0.1
- The arguments are case insensitive.
- Support of two new
orderbyarguments:comment_IDandpost_ID. - Set default
orderbyargument todate.
1.0.0
- Version initiale.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Get Author's Comments alternatives
All author plugins →FAQ
Get Author's Comments: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Get Author's Comments free?
Yes. Get Author's Comments is free to download and use from the official WordPress.org plugin directory.
Is Get Author's Comments safe to use in 2026?
Get Author's Comments shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 17 years ago, and scores 23/100 on our health check.
How many websites use Get Author's Comments?
Get Author's Comments is active on 10+ WordPress websites and has been downloaded 3,529 times since it launched in December 2008. It was downloaded 52 times in the last 30 days.
Does Get Author's Comments work with WordPress 7.1?
Get Author's Comments is officially tested up to WordPress 2.9.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Get Author's Comments last updated?
The latest version, 1.1.0, was released on August 2, 2009 (17 years ago).
Who makes Get Author's Comments?
Get Author's Comments is developed and maintained by Mehdi Kabab.
What are the best alternatives to Get Author's Comments?
The most popular alternatives to Get Author's Comments are Edit Author Slug (100K+ installs), WP Meta and Date Remover (80K+ installs) and Hide/Remove Metadata (20K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
