JPF Add to Reddit Wordpress Plugin

November 11th, 2006 · 25 Comments · 9,129 views

The JPF Add to Reddit plugin is a social bookmarking plugin that allows users to submit posts to Reddit.com. If the user is already logged in to Reddit, it automatically submits the posts URL and Title. The download includes two files, jpf_reddit.php is the plugin, copy it to your Wordpress plugins folder and activate the plugin in your plugin manager, and reddit.gif, an optional icon that can be used as part of your link.

Once the plugin is activated, include the following somewhere in ‘the loop’, most likely in one of your templates:
<?php jpf_reddit(); ?>
This will display text that says ‘Add to Reddit’ which links to the Reddit.com submit page. If you want more control over the appearance, you can add a few parameters:
<?php jpf_reddit({before}, {Link Text}, {after}); ?>
Here’s how I use it. I first copy the included reddit.gif file to my image folder, in my case /wp-images/icons. I then include the following in my template:
<?php jpf_reddit(”,’<img src=”/wp-images/icons/reddit.gif” alt=”Reddit” /> Add to Reddit’,”); ?>
That’s it!

Name: JPF Add to Reddit WordPress Plugin [Download]
Size: 1,21 kBytes
FileType: .zip-File
Edited on 03. Mar 2007 - 16:35 h
Downloads: 420
Free for visitors

Subscribe to So Joe... Today!

25 responses so far ↓

Leave a Comment