Kiva

For those who wish to help others but who have limited means to do so Kiva provides an opportunity to give a little (as little as $25) and help people around the world who have business plans to lift themselves up economically. Loans from individuals get pooled as necessary to fund people. I have been very impressed with this system that allows people to help others by using small means to make great things happen.

I was very happy to take the opportunity to take the code written by Connor Boyack and turn it into the Kiva plugin for WordPress so that people can raise the visibility of Kiva by displaying loans in the fundraising stage with a link to donate.

version 1.1 (2/10/2009)
More options over which loans to show

Latest Version 1.2 (2/27/2009)
You can now use a text widget with the shortcode SHOW-KIVA (enclosed in square brackets – []) to display the Kiva plugin in a widgetized sidebar.

Options include:

  • Number of posts to show.
  • Display format for loan list – Image only displays the image for each loan linked to the donation page, Both displays the image and text information, Text only displays name(linked to the donation page), business, country, and fundraising level/goal for the loan.
  • Gender – you can restrict to only show loans for men or loans for women.
  • Region – you can show loans only in one of 7 geographic regions.
  • Sector – you can only show certain types of loans such as retail or agriculture.

To install it simply unzip the file linked above and save it in your plugins directory under wp-content. In the plugin manager activate the plugin. Settings for the plugin may be altered under the Kiva page of the Options menu (version 2.3) or Settings menu (version 2.5 or later). Place the call show_kiva(); anywhere in your page templates or use [ SHOW-KIVA] in a text widget.

This entry was posted in life, meta, pictures, technology and tagged , , . Bookmark the permalink.

15 Responses to Kiva

  1. sunirmalya says:

    hi David,
    firstly great work – thanks so much..

    But i cant see how to include it on my sidebar – please see supremepeace.org
    the only options i can see are to include the code as you have mentioned above but i cant see how to do that on the Ahimsa theme..

    Can you please help..

    • David says:

      I apologize. I thought I had written those instructions in at least two places. The way to include it is to add the following code in your page template:

      < ?php show_kiva(); ?>

      • sunirmalya says:

        sorry mate – it has to do more with that theme Ahimsa. I can’t get it to load in the sidebar. i’ve edited the sidebar.php and also page.php but neither seem to work.. Any suggestions? thanks

        • David says:

          I’ll have to take a look at Ahimsa and see if I have any ideas.

          On your comment below – I am planning to add a function that would allow you to display loans you have made.

          Don’t worry about the questions – I’m just glad that this is being used.

          • David says:

            Try placing “

          • < ?php show_kiva(); ?>
          • ” on the line right above “< ?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>”

            If you are using widgets and you place the show_kiva call below that line the call will be skipped. Let me know if that does not help.