Comment on Comments WordPress SEO Plugin by SEO Dave.
No comment author emails, that’s a new one :-)
Not tested, but edit the file
/wp-content/plugins/blog-comments-seo/blog-comments-seo.php
Change line 104 to:
$comments = $wpdb->get_results($wpdb->prepare("SELECT comment_author, comment_author_url, comment_content, comment_post_ID, comment_ID, comment_author_email FROM $wpdb->comments WHERE comment_approved = '1' AND comment_author ='%s' AND comment_post_ID = '$pid' AND NOT comment_ID='$cid' ORDER BY comment_date_gmt DESC LIMIT 3",$author));
And change line 114 to:
$comments = $wpdb->get_results($wpdb->prepare("SELECT comment_author, comment_author_url, comment_content, comment_post_ID, comment_ID, comment_author_email FROM $wpdb->comments WHERE comment_approved = '1' AND comment_author ='%s' AND NOT comment_post_ID = '$pid' ORDER BY comment_date_gmt DESC LIMIT 5",$author));
That should do it. That should for both the “Author Name Also Commented” and “Recent Comments by Author Name” output use author name to select the comments.
If you have comments with the same author name they will be listed together. So if you have two people posting with the name Richard, they’ll mash together. Using email addresses it’s less likely to happen: generally only occurs when using fake email addresses.
David
More Comments by SEO Dave
WordPress SEO Comments
Website Usability on a Website with Lots of Comments
On website usability and visitors being inconvenienced by the links to the WordPress SEO comments pages.
I’ve been using the WordPress SEO comments plugin feature for at least 7 years, over my network there are over 50,000 comments (over 3,000 comments …
Continue Reading Comments WordPress SEO
WordPress SEO Comments
Why WordPress Comments are NOT Duplicate Content to Google
I covered this in a comment I made on a review of the WordPress SEO Comments Plugin, here’s the comment I made to this point:
“You are creating tons of repeatable content, which stands for low quality web pages.”
I guess you …
Continue Reading Comments WordPress SEO
WordPress SEO Comments
Small SEO Plugin Update
Misunderstood what you meant, made sense to remove the View Comments links under the comments Dashboard.
Version 2.2.1 is available in the WordPress repository now.
David …
Continue Reading Comments WordPress SEO
WordPress SEO Comments
WordPress Performance Issues
No problem, already put the plugin update out so you should see it as an upgrade on your Dashboard soon.
WordPress performance issues are very common, especially if you run a site with a theme and plugins that haven’t been optimized …
Continue Reading Comments WordPress SEO
WordPress SEO Comments
WordPress SEO Comments Plugin v2.2 Update
Since I had all the code to hand from fixing the Stallion Responsive theme and it was an easy fix, I’ve updated the WordPress SEO plugin code to v2.2 which includes a fix for the above bug.
Didn’t document this, but …
Continue Reading Comments WordPress SEO
WordPress SEO Comments
WordPress SEO Comments Plugin Bug
Good catch you found a bug (oversight on my part really).
Basically I’d not checked the comment id was always to an approved comment.
Have made a fix for the Stallion Responsive theme version (similar code to the plugin is built into …
Continue Reading Comments WordPress SEO
WordPress SEO Comments
WordPress SEO Plugin Reviews
Can’t say for sure as don’t know how the review part of the site works.
If the reviews are added as comments, then yes they should be accessed via the WordPress SEO Comments Plugin.
If your developer has created something unique for …
Continue Reading Comments WordPress SEO
WordPress SEO Comments
SEO Comments Plugin Needs Comments
You probably won’t need a new WP template file to use the Stallion WordPress SEO comments plugin, but if you do there’s basic instructions on the plugins options page.
Had a very quick look at your site, you don’t appear to …
Continue Reading Comments WordPress SEO
WordPress SEO Comments
WordPress SEO Comments and Nofollow
Yes it costs link benefit to index your comments as WordPress SEO comments. Every link from a webpage requires PR/link benefit.
The worst thing you could do though is nofollow the comment links, nofollow deletes the link benefit rather than conserve …
Continue Reading Comments WordPress SEO
WordPress SEO Comments
WordPress Comments SEO Template Tutorial
The WordPress page template is optional when using the SEO comments plugin, you don’t need it.
If you find the output not to your liking, say something that’s part of your theme just doesn’t work with the WP SEO comments pages …
Continue Reading Comments WordPress SEO
WordPress SEO Comments
Wrong Yoast SEO Title Tags
The Yoast WordPress SEO Plugin doesn’t have an option to turn off it’s automated replacement of all title tags, so when it loads a page generated by the Comments WordPress SEO Plugin it replaces the title tags!
It used to be …
Continue Reading Comments WordPress SEO
WordPress SEO Comments
AVH First Defense Against Spam WordPress Plugin False Positive
Is fruityoaty.com your site?
Tried to load it and got the following error:
Access has been blocked.
Your IP [2.124.65.229] is registered in our Blacklisted database.
Protected by: AVH First Defense Against Spam
I’m on a dynamic IP, I use a popular broadband supplier in …
Continue Reading Comments WordPress SEO