Reddit This - Wordpress Plugin
Current version: 1.0
Reddit this wordpress plugin is a plugin that detects incoming links from Reddit.com to your wordpress post and automatically display a link back to the reddit post, for people to vote and comment on your story.
When a referral is first recognized an email is sent to the site’s admin
The detection is based on the referrer URL, which has to come from reddit.com.
In case there is more than one reddit posts to your page, only the first one will be displayed.
How to install:
Copy Reddit this plugin to wordpress plugin folder and activate it.
To use this, simply add < ?php if(function_exists('reddit_this')) {reddit_this();} ?> anywhere in your template (in “the loop”) you want to show the link back to Reddit.
The function has 5 optional parameters:
$before - The text you want to output before the link. This can any HTML text, for instance a tag
$link_text - The text that will link back to reddit. The default is “Vote Reddit story”. (This can also be an image tag or any other valid html tags)
$after - The text to output after the link back to reddit. For instance the closing tags from the $before text.
$ping - This is a ping attribute (string) inside the <a href…> tag. The ping will be added at the end of the post URL.
$show_what_is_this - This is a boolean which indicates whether to show a question mark after the reddit this link, which explains why this link is created and link to this plugin page.
Examples:
Examples:
< ?php reddit_this(); ?> will create a “Vote Reddit story” link with a question mark which explains why this link is created and link to the plugin page.
< ?php reddit_this("<p class='reddit'>“, “Comment On Reddit”, “<p>”); ?> will create a “Comment On Reddit” link like the previous example between <p> tags.
< ?php reddit_this("<br/>“, “Vote Reddit story”, “”, “ping”); ?> like before but adds a ping url to the reddit link.
Note: if you are using url format such as yoursite.com?post=12 the ping string should be “&ping=SOMETHING”
< ?php reddit_this("", "Vote Reddit story", "", "ping", false); ?> like the above but removes the ? link.
You may download this plugin for free, all I ask is that you let me know how it works for you (just write a comment).
Please show your support by leaving the $show_what_is_this as true (you don’t have to but I will really appreciate it).
Also availabe: Digg This Wordpress Plugin











(13 votes)
RSS Feeds 




July 25th, 2006 at 6:34 am
will any body tell me what is reddit.com and how can i be benefitted from it.
September 9th, 2006 at 11:00 pm
I modified this module to do the reddit button in the same way you did the digg-this button. Almost. It also short circuits the referrer such that people clicking through from reddit’s new page will trigger the auto-reddit-detection behavior.
Pain in the ass. I know not PHP well and it shows, I’m sure. But it works for me.
http://www.friday.com/misc/reddit-this.php.gz
September 9th, 2006 at 11:01 pm
Oh, forgot to mention — take that code and do whatever you want with it. Feel free to ping me via email, if necessary.
October 8th, 2006 at 5:52 am
@Harry
well if u want to know wht redit is , ur best bet will be tto visit it
November 17th, 2006 at 10:43 am
Hey, I love your digg plugin, but I can’t get this one to work.
November 18th, 2006 at 10:08 am
It works the same, but like the digg plugin people need to enter your page from the comments page of the link in reddit, otherwise the plugin can’t know the story URL
December 5th, 2006 at 4:18 am
Its very useful plugin, very help in promote my articles..thank you very much for the plugin…
February 1st, 2007 at 8:10 pm
nice
March 18th, 2007 at 8:28 pm
I think these blog is really useful for new comers and Excellent resource list.
It´s a very interesting Blog and simple answer of many questions.
Keep up the good work!
Thanks it helps me a lot…
March 25th, 2007 at 7:09 am
Excellent article it’s realy helpful, keep up the good work!
Thank you.
July 19th, 2007 at 3:14 pm
thanks , very good
August 1st, 2007 at 7:44 pm
Groovy!
August 16th, 2007 at 10:58 pm
Thanks. =)
September 14th, 2007 at 3:12 am
Thanks for information.
September 27th, 2007 at 6:01 am
very nice site
October 3rd, 2007 at 6:41 pm
thanks for reddit plg
October 25th, 2007 at 6:40 am
of course very fine
November 9th, 2007 at 3:27 pm
thank you very much
November 26th, 2007 at 5:52 am
It’s interesting to read ideas, and observations from someone else’s point of view… makes you think more.
December 18th, 2007 at 10:47 am
Stumbled across this blog from the V7N contest post..wow. I’ll be back
January 11th, 2008 at 4:46 pm
Usefull plugin already downloaded… I will install soon as well…
January 29th, 2008 at 5:14 pm
thanks
February 3rd, 2008 at 11:15 am
ich finde es ist eine gute Idee des webmasters
February 3rd, 2008 at 11:16 am
relation… good
February 3rd, 2008 at 11:17 am
danke für alles
February 29th, 2008 at 7:40 am
But I think Fresh theme is better than it…
March 3rd, 2008 at 10:49 am
Its very useful plugin
March 22nd, 2008 at 3:14 pm
Thank you for the great plugin, i will use it on one of my projekts.
March 23rd, 2008 at 11:15 am
keep up the good work! thanks
March 30th, 2008 at 8:24 pm
thanx so much this plugin is very good ı like this site.
March 30th, 2008 at 8:26 pm
good post will create a “Vote Reddit story” link with a question mark which explains why this link is created and link to the plugin page. ı like this.Thanx
April 4th, 2008 at 8:34 am
thank you very much
April 9th, 2008 at 9:51 am
thank you so much. goodest.
May 6th, 2008 at 11:33 am
Thanks For plugin.
May 23rd, 2008 at 9:05 pm
thanx so much this plugin is very good ı like this site.
May 24th, 2008 at 3:04 am
thanx so much this plugin is very good ı like this site.
May 25th, 2008 at 2:25 am
But I think Fresh theme is better than it
May 25th, 2008 at 2:25 am
thank you for plugin.
May 28th, 2008 at 11:23 am
thanks a lot
June 1st, 2008 at 7:21 pm
Thanks for post.
June 2nd, 2008 at 3:54 pm
thanks for this plugin.it is in my default wp file.
June 7th, 2008 at 4:16 am
Its very useful
June 7th, 2008 at 4:17 am
Thank you for the great plugin
June 8th, 2008 at 2:09 am
its useful,thanks
June 8th, 2008 at 8:53 am
good
June 8th, 2008 at 8:54 am
June 10th, 2008 at 9:06 am
Thanks
June 13th, 2008 at 11:18 pm
Q : will any body tell me what is reddit.com and how can i be benefitted from it.
A : Reddit is a social bookmarking service
June 14th, 2008 at 3:22 am
Thanks for all
June 18th, 2008 at 7:20 am
thankss
June 18th, 2008 at 7:21 am
Hi if others are interested in language variants may be we can help
June 20th, 2008 at 8:51 am
Excellent Job…
Thank you.
June 20th, 2008 at 8:52 am
Excellent Job… I will try to incorporate this in my Devotional Website…
Thanks
June 20th, 2008 at 12:43 pm
thanks..
July 6th, 2008 at 7:34 pm
good good thanks
July 8th, 2008 at 3:19 am
thankssss
July 14th, 2008 at 3:45 am
Thanks for all
July 16th, 2008 at 6:01 am
thanks friend
July 21st, 2008 at 12:15 pm
thx for your plugin I am Blog
July 22nd, 2008 at 9:20 pm
Hey, I love your digg plugin, but I can’t get this one to work