Title: [Plugin: SEO Super Comments] Extending the Code
Last modified: August 19, 2016

---

# [Plugin: SEO Super Comments] Extending the Code

 *  [David Cameron Law](https://wordpress.org/support/users/seo-dave/)
 * (@seo-dave)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-seo-super-comments-extending-the-code/)
 * I’ve been playing around with a plugin called SEO Super Comments [http://www.prelovac.com/vladimir/wordpress-plugins/seo-super-comments](http://www.prelovac.com/vladimir/wordpress-plugins/seo-super-comments)
   which creaes a page for each comment.
 * Got it working at [http://www.45-year-old-millionaire.co.uk/what-is-twitter-marketing.html#comments](http://www.45-year-old-millionaire.co.uk/what-is-twitter-marketing.html#comments)(
   though had to hack my themes code to get it working as I wanted it).
 * Example comment page [http://www.45-year-old-millionaire.co.uk/what-is-twitter-marketing.html?cid=4848](http://www.45-year-old-millionaire.co.uk/what-is-twitter-marketing.html?cid=4848)
 * Cool concept for an SEO plugin, but it’s not perfect.
 * What I want to do now is only show the link code when a comment is X number of
   words or charachters, so a long comment gets it’s own page (created by the plugin)
   while small comments don’t get the link. Right now a single word comment gets
   it’s own page which is bad SEO wise.
 * So I’m trying to figure out the code for this and not sure where to start. Is
   there a variable or something that counts the number of words in a comment for
   example? If there is I could use it as part of a if statement.
 * David

Viewing 1 replies (of 1 total)

 *  [pinoyca](https://wordpress.org/support/users/pinoyca/)
 * (@pinoyca)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-seo-super-comments-extending-the-code/#post-1287902)
 * Well, if comment # 4848 is only one word, what DO you want to appear at [http://www.45-year-old-millionaire.co.uk/what-is-twitter-marketing.html?cid=4848](http://www.45-year-old-millionaire.co.uk/what-is-twitter-marketing.html?cid=4848)?
 * To answer your question: Picking which comment becomes a clickable “cid” link
   or not can be done inside `SEOSuperComments_author_link()`. For example, add
 * `if (strlen($comment->comment_content) <= 5) return $link;`
 * after the `global $comment;`.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: SEO Super Comments] Extending the Code’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [pinoyca](https://wordpress.org/support/users/pinoyca/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/plugin-seo-super-comments-extending-the-code/#post-1287902)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
