[Plugin: SEO Super Comments] Extending the Code
-
I’ve been playing around with a plugin called SEO Super Comments https://www.prelovac.com/vladimir/wordpress-plugins/seo-super-comments which creaes a page for each comment.
Got it working at https://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 https://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
- The topic ‘[Plugin: SEO Super Comments] Extending the Code’ is closed to new replies.