Plugin info

Total downloads: 2,940
Active installs: 10
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 1/6/2009 (6250 days ago)
Added to WordPress: 3/21/2008 (17 years old)
Minimum WordPress version: 2.0.2
Tested up to WordPress version: 2.7
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 6250 days ago

20/100

Is Reddit Widget abandoned?

Possibly abandoned (last update 6250 days ago).

Compatibility

Requires WordPress: 2.0.2
Tested up to: 2.7
Requires PHP: f

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Meks Smart Social Widget
Rating 4.6/5 (10 reviews)Active installs 20,000
Masdetalles Share
Rating 0.0/5 (0 reviews)Active installs 0
Meks Easy Social Share
Rating 4.5/5 (8 reviews)Active installs 10,000
Social Discussions
Rating 3.2/5 (13 reviews)Active installs 100
Reddit for WooCommerce
Rating 5.0/5 (1 reviews)Active installs 100
Social Buttons
Rating 0.0/5 (0 reviews)Active installs 50

Description

Requirements

  • WordPress 2.2 or 2.0.x/2.1.x with WordPress Widgets
  • PHP 4.3.0 or greater (needed for function file_get_contents)

Features

  • Displays your latest liked items (on reddit.com)
  • Completely customizable display
  • Caching for large traffic sites

Formatting

There are 3 parts needed to format the output.

The first part, called items start in the admin panel, is the first part of the widget after the title. For the default formatting, this is just

    .

    The second part, called items end, is the ending of the widget. By default, this is:


%username%

The third part is what is called for each item. By default, this is:

  • %title% (more)
  • The premise of calling each value is this:

    1. start
    2. item
    3. item
    4. item
    5. end

    The formatting for items is:

    • %title% – Title of the item
    • %link% – Link to the item
    • %desc% – Description of the item – Just [link] [more] links
    • %date% – Date the item was submitted (ISO)
    • %more% – More link – The link to the comments
    • %number% – The number of the current item

    The formatting for start and end is:

    • %username% – Your username
    • %profile% – Link to your profile
    • %rss% – Link to your profile’s RSS feed
    • %count% – Number of items shown

    Installation

    1. Download reddit-widget.zip
    2. Extract and upload reddit.php to the plugins/ directory
    3. Enable reddit Widget in the Plugin admin panel
    4. In widget admin panel, place reddit in the sidebar, and edit it to enter your username

    Frequently Asked Questions

    Nothing shows up when I try it or I get an error that file_get_contents doesn’t exist

    This script relies on the function file_get_contents to fetch the RSS feed. If your host doesn’t allow the use of it, but allows the use of curl, you can replace

    $stories = file_get_contents($uri);

    with

    $ch = curl_init();
    $timeout = 5; // set to zero for no timeout
    curl_setopt ($ch, CURLOPT_URL, $uri);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $stories = curl_exec($ch);
    curl_close($ch);

    What does cache time mean?

    It’s the number of seconds before the content will be requested again. You can set this to be 0 or -1 to not use the caching system. If you edit any of the widgets in the widget admin panel, the cache is cleared.

    Review feed

    No reviews available

    Screenshots

    1. Default Display

      Default Display

    2. Admin Panel

      Admin Panel

    Changelog

    No changelog available