Un-Official Fiverr Plugin (for WordPress)

Posted by Dor Zuberi - April 9, 2011 - Web Development
WordPress Logo - Full

Hello mates,
I’ve developed a WordPress plugin and decided to release it for free. The plugin allows you to show your Fiverr user gigs and favorited gigs.

About

The “Un-Official Fiverr Plugin” is a WordPress plugin which allows you to embed Fiverr Widget on your WordPress site in one or more of the following ways:

  • Theme Function
  • Sidebar Widget
  • Shortcode
Fiverr Widget - On Page

Fiverr Widget - On Page

Install

  1. Download zip Un-Official Fiverr Plugin (for WordPress).
  2. Extract the .zip file.
  3. Upload the “FiverrPlugin” directory to your WordPress plugins directory under the following path:
    /wp-content/plugins/
  4. Login to WordPress control panel.
  5. Navigate to “Plugins” section.
  6. Click on “activate” under “Un-Official Fiverr Plugin”.

Usage

Currently there are 3 ways to embed Fiverr Widget:

Theme Function

Open one of the theme’s files and add the following row where you want the Widget to show-up.

<?php fiverrWidgetTheme(); ?>

You may customize the widget simply by sending the function values:

<?php fiverrWidgetTheme( 'USERNAME', USER_GIGS, LIKED_GIGS, WIDTH, HEIGHT, 'POSITION' ); ?>
  • USERNAME – your Fiverr username.
  • USER_GIGS – how many gigs to show.
  • LIKED_GIGS – how many favorited gigs to show.
  • WIDTH – width of the widget.
  • HEIGHT – height of the widget.
  • POSITION – where to position the widget (accepted values: ‘none’, ‘right’, ‘left’).
Fiverr Widget - Widget Options

Fiverr Widget - Widget Options

Sidebar Widget

Go to ‘Widgets’ under ‘Appearance’ section and then drag “Fiverr Account Widget” to your widgets sidebar.
You may also use the widget’s form in order to configure the widget.

Shortcode

If you wish to display the widget on one or more of your posts or pages, simply use the following short code in order to embed it.

[fiverr-widget]

You may also use one or more of the following options in order to configure the widget.

  • username – your Fiverr username.
  • user_gigs – how many gigs to show.
  • user_likes – how many favorited gigs to show.
  • widget_width – width of the widget.
  • widget_height – height of the widget.
  • widget_position – where to position the widget (accepted values: ’none’, ‘right’, ‘left’).

Support

The plugin works on WordPress 2.8+.
Sidebar Widget is supported on widgetiezed themes.

Tagged: , , , ,

Comments