Overview:
Add a reditt button in your post.
Features:
- Generate perfectly valid XHTML code
- You can choose between different styles
- Deactivating the plugin will not break your site!
Requirements:
- WordPress 1.5 or above
Installing
- Download The reddit button Plugin.
- Upload
ald-reddit-button.phptowp-content/plugins/folder. - Activate the Plugin in WP-Admin.
- Use the button in the quicktag toolbar to insert the code. You will be prompted to enter a style. Enter a number from 1 to 3. Any number above 3 will insert 1.
- If you are using the WYSIWYG, you will have to add the code manually or use the Code tab in WordPress 2.1. You can add
<!--reddit_1-->or<!--reddit_2-->or<!--reddit_3-->where you want to display the button. For correct XHTML, make sure that the code is added on a new line.
The Function:
add_reddit($style=1)
Customizing:
Add the following code to the style.css to your theme.
/* Reddit Button */
.redditbutton {
float: right;
margin: 10px;
}
This will cause the displayed reditt button to be floated to the right.
ChangeLog:
- 1.1 – Compatible with WordPress 2.1 onwards
- 1.0 – Release
Downloads
Current Version is 1.1
Support the Development
I’ve spent a good deal of time and money developing and maintaining the plugin. If you like the plugin and find it useful and would like to donate something for my work please do click the Paypal Donate button below. The payment is secure. I haven’t filled in any amount. Feel free to donate what you please. Any amount is welcome. Thank you
License
All files and their contents are licensed under the GNU General Public License (GPL).
Questions or Bugs
If you have any questions or would like to report any bugs then please use the support forum.

Is it me, or does the download link just point to an anchor on this page?
Hi Hoover,
Thanks for pointing that out.
It has been corrected. You can now download the plugin
Why, thank you…
Your welcome
Fantastic! Thanks for the plugin, I’ll be putting a link to this in the blog.
That would be great! Thanks
The plugin installed fine on wp 2.0.2, but once I selected reddit_2, there is no button (when I viewed the source, it only said . Do I have to enter a key & value just like the digg plugin?
same problem as alex. 2.0.2, installed. In page source it shows
<!–reddit_2–>
instead of caling the function.
Does
<!--reddit_1-->and<!--reddit_3-->work fine?If you are using the WYSIWYG editor, then try to see if it looks like this.
sometextsome more text
<!--reddit_2-->still more textstill even more text
in wordpress 2.02, the button does not show up in the quicktags bar, nor does using
work either. this may be that the regexp isnt matching. i think newer wordpress adds a linefeed after the reddit tag and the so the function never runs.
I guess there is a problem with 2.0.2 which has been resolved.
Can you give me a sample post, or the HTML code generated on your site.
I think I may have a solution for it.
Is there a way to place this in the loop where it would automatically be added on the bottom (or the top) of each post?
I haven’t had a provision for this yet. I plan to update this plugin.
Will make a function so that it can be placed in the loop.
Thanks for the suggestion
I just installed it in WP 2.0.7 & I see the Reddit button in the quicktag bar. But when I click on it nothing happens. No prompt, no nothing.
Any ideas what might be wrong?