You can enable *your* blog with Twinkylinks. It only takes 20 seconds, and …
In your Wordpress theme’s comments.php file, you already have a block of code that looks like this:
<?php comment_author_link() ?>
Just replace it with the following code. You don’t have to change anything else — just copy, paste, and save!
<?php comment_author_link() ?><iframe class="twinkylinks" frameborder="0" src="http://twinkylinks.com/l/<?php echo md5(strtolower($comment->comment_author_email)); ?>.html" style="border:0;display:inline-block;height:18px;margin:0;overflow:hidden;padding:0; vertical-align:middle;width:18px;margin-left:5px;margin-top:-5px"></iframe>
That’s all you need to do! You’re done!
If you want to tweak the icon’s position on your blog’s comments page, just adjust those last two values (margin-top and margin-left).
Have questions? @twinkylinks.
Just follow the WordPress instructions above, but instead of the “comment_author_link()” and the “$comment->comment_author_email” bits, you’ll need to see what your blog template uses to reference the commenter’s name, and what your template uses to reference the commenter’s e-mail address. But apart from that, it’s exactly the same.
Copy and paste that block of code (replacing the “comment_author_link()” and the “$comment-> comment_author_email” with your blog software’s version of it), and you’re all done. Not too bad, right?
If you e-mail us with your blogging software’s name and the code you ended up using, we’ll post it here for other folks to use.
Have questions? @twinkylinks.
There are two bits to this. For starters, you need to make sure that your primary controller (probably application_controller.rb) includes the following line:
require 'digest/md5'
Then, in your comments partial (or comments section), you’ll want to include the following:
<iframe class="twinkylinks" frameborder="0" src="http://twinkylinks.com/l/<%= Digest::MD5.hexdigest(commenter.email.downcase.strip).to_s %>.html" style="border:0;display:inline-block;height:16px;margin:0;overflow:hidden;padding:0; vertical-align:middle;width:16px;">
And be sure that you replace “commenter.email” with whatever your blogging software uses to reference the commenter’s e-mail.
That’s all you need to do! You’re done!
Have questions? @twinkylinks.
Twinkylinks is an ironic distraction, courtesy of the team at Monotask.
You should check Monotask out here.