Skip to content

The reddit button Plugin for WordPress

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:

Installing

  1. Download The reddit button Plugin.
  2. Upload ald-reddit-button.php to wp-content/plugins/ folder.
  3. Activate the Plugin in WP-Admin.
  4. 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.
  5. 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

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.

Leave a comment

  1. Hoover / Sep 7 2006

    Is it me, or does the download link just point to an anchor on this page?

  2. Ajay / Sep 7 2006

    Hi Hoover,

    Thanks for pointing that out.
    It has been corrected. You can now download the plugin :)

  3. Hoover / Sep 7 2006

    Why, thank you…

  4. Ajay / Sep 7 2006

    Your welcome :)

  5. Alexis / Sep 7 2006

    Fantastic! Thanks for the plugin, I’ll be putting a link to this in the blog.

  6. Ajay / Sep 7 2006

    That would be great! Thanks :)

  7. alex / Sep 10 2006

    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?

  8. quadszilla / Sep 11 2006

    same problem as alex. 2.0.2, installed. In page source it shows

    <!–reddit_2–>

    instead of caling the function.

  9. Ajay / Sep 11 2006

    Does <!--reddit_1--> and <!--reddit_3--> work fine?

    If you are using the WYSIWYG editor, then try to see if it looks like this.

    sometext
    some more text

    <!--reddit_2-->

    still more text
    still even more text

  10. nork / Oct 6 2006

    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.

  11. Ajay / Oct 6 2006

    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.

  12. WallerBlog / Nov 17 2006

    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?

  13. Ajay / Nov 17 2006

    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 :)

  14. Richard Silverstein / Jan 30 2007

    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?

Trackbacks and Pingbacks

  1. The reddit button Plugin for WordPress » Ajay - On the Road called Life!
  2. Weblog Tools Collection » WP-Plugin: The reddit button
  3. BloggingPro China » Blog Archive » WordPress Plugin: reddit button
  4. DELETE YOURSELF! » Blog Archive » ?????? reddit ??? WordPress
  5.   WordPress Plugin: Reddit Button by Blogging Pro
  6. Publisher-Heaven » Blog Archive » Thumbs Up Plugin
  7. My favourite 10 Wordpress plugins - Cristian Mezei
  8. Marigold » Archiv » Krle? WordPress
  9. SEM Basics’s list of Wordpress plugins » SEMBasics
  10. Krle? WordPress » Marigold.cz
  11. foz’s Digital World » Blog Archive » Favourite 10 Wordpress plugins

Comments are closed.