WP List Testimonials

Plugin version: 1.2
Requires WordPress version: 2.5+
Tested up to WordPress version: 2.8
Download: from the WordPress Plugin Directory

Description

Provides a PHP function wp_list_testimonials to output your blogroll in the format of testimonials using <blockquote> and <cite> tags.

It uses the notes field of the blogroll link as the main quote, the link name as the cite, and the link description as additional information following the cite if provided.

The function accepts the same arguments as the get_bookmarks WordPress function.

Features

  • Manage your testimonials via your Blogroll.
  • Include/exclude specific categories.
  • Set testimonial ordering
  • Simple PHP function to include in your templates.

Installation

1. Download the archive file and uncompress it.
2. Put the “wp_list_testimonials” folder in “wp-content/plugins”
3. Enable in WordPress by visiting the “Plugins” menu and activating it.

You can then implement it in your templates using < ?php wp_list_testimonials(); ?> passing any arguments you require. See the documentation for the WordPress get_bookmarks function.

Change Log

You can track changes to the plugin in the wordpress plugin SVN.

Donate

7 Responses to “WP List Testimonials”

  1. Oliver Nielsen - fotograf Says:

    Hi. I can not make it output any testimonials, from a given category. Even though the same category output with wp_list_bookmarks works fine.

    Could you maybe describe a little more as to how the plugin is supposed to be used? Which category?

  2. Ben Huson Says:

    To display links as testimonials you can insert the following code into your templates:

    < ?php echo wp_list_testimonials(); ?>

    If you want to display a single category you can:

    < ?php echo wp_list_testimonials('category_id=6'); ?>

    In order for a link to show a testimonial, when adding a link you must enter:

    1. Name
    2. Web Address (enter # if not required)
    3. Notes (in the advanced section of the edit/add link page)

  3. » WP List Testimonials - WordPress Plugins Catalog Says:

    [...] Plugin Homepage » [...]

  4. Stofer Says:

    Thanks for creating this useful plugin.
    In order to get it to work in Wordpress 2.7.1 I modified line 84 from:
    add_management_page(‘Testimonials’, ‘Testimonials’, 8, ‘testimonials’, ’sfstst_adminpage’);
    to
    add_menu_page(‘Testimonials’, ‘Testimonials’, 10, ‘testimonials’, ’sfstst_adminpage’);

    This seems to do the trick, atleast for the widget which is what I needed it for.

    Cheers,
    ~s

  5. Alejandro Urrutia Daglio Says:

    Hi Ben, nice work you have done.

    I got a simple question:

    I’m using wordpress 2.81 and I’m trying to call just a testimonial from a single links category but I get all categories showed up.

    This is the code I use:

    Any idea? Thanks. Alejandro

  6. Ben Says:

    Alejandro, have you tried passing either of the following 2 parameters to specify the category you want to use:

    wp_list_testimonials('category=21')
    wp_list_testimonials('category_name=my-cat')

  7. Alejandro Urrutia Daglio Says:

    Nows fixed, thanks a lot ben!

Leave a Reply