plugin-icon

Reddit Widget

This widget will display your latest shared stories. You can change the amount of stories to display and how to display them.
Beoordelingen
Laatst bijgewerkt
January 6, 2009
Versie
1.2
Actieve installaties
10

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 <ul>.

The second part, called items end, is the ending of the widget. By default, this is: </ul> <a href=”%profile%” style=”float:right;”>%username%</a>

The third part is what is called for each item. By default, this is: <li style=”list-style-type: none;”><a href=”%link%”>%title%</a> (<a href=”%more%”>more</a>)</li>

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
Gratisop Creator abonnement
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Actieve installaties
10
Getest tot
2.7
Deze plugin kan worden gedownload, zodat je hem op je zelf-gehoste WordPress-installatie kan gebruiken.