Download

To download the LSX Testimonials Extension, follow one of the following steps:

You can also download and install the extension directly from the backend of your website

  • Login to the backend of your website.
  • Navigate to the “Plugins” dashboard item.
  • Select “Add New” when on the plugins page.
  • Search for “LSX Testimonials”.
  • Download and activate the plugin.

Installation

To install go to Plugins > Add New.

  • Upload the file you downloaded and click install now
  • When the installation is complete, Activate your plugin.
  • After installation a new Testimonials menu appears.

Display Settings

To configure the following display settings, go to Appearance > Theme Options > Display > Testimonials:

  • Display Single Posts – Check this option if you only want an archive Testimonials page.

For archive page placeholder settings, go to Appearance > Theme Options > Testimonials. You can modify the following settings:

Adding a New Testimonial

To add a new team member, go to Testimonials > Add New:

  • Add the title for the testimonial in the title field.
  • Set a Featured Image for the team member.
  • Add your content in the post editor.
  • Configure the following banner display options:
  • Enter the Testimonial Details. Checking Featured enables the testimonial to display in the Testimonial widget.
  • This section is also where you can link your testimonial to LSX Projects, LSX Services and LSX Team, if these LSX Extensions are installed.

Display Testimonials with a Shortcode

Once you have added all your Testimonials and configured their content, you can then add these Testimonials  via shortcodes. These shortcodes are configured using the following shortcode options:

Below is an example of a shortcode and what your testimonials will look like on the frontend:

Testimonials

Jane Doe
Role & Company: Job Title

Donec nec sagittis libero. Suspendisse nisl orci, ullamcorper at elit ut, molestie malesuada justo. Suspendisse suscipit a mi imperdiet vestibulum.

Continue reading

Sarah Joe
Role & Company: Job Title

Donec nec sagittis libero. Suspendisse nisl orci, ullamcorper at elit ut, molestie malesuada justo. Suspendisse suscipit a mi imperdiet vestibulum.

Continue reading

Jane Smith
Role & Company: Job Title

Donec nec sagittis libero. Suspendisse nisl orci, ullamcorper at elit ut, molestie malesuada justo. Suspendisse suscipit a mi imperdiet vestibulum.

Read More

John Doe
Role & Company: Job Title

Donec nec sagittis libero. Suspendisse nisl orci, ullamcorper at elit ut, molestie malesuada justo. Suspendisse suscipit a mi imperdiet vestibulum.

Continue reading

The following options are used to configure the shortcode and control how the testimonials will display on your website.

Columns

set the number of columns to display

options: 1, 2, 3, 4

default: 1

eg: [testimonials columns=4]

Orderby

Choose how the testimonials should be ordered

options: none, ID, name, date, rand (or any of the orderby options accepted by WP Query)

Default: name

eg: [testimonials orderby=rand]

Order

whether to display testimonials in ascending or descending order (based on the orderby parameter)

options: ASC, DESC

default: ASC

eg: [testimonials order=’DESC’]

Limit

set the maximum number of testimonials to be returned

eg: [testimonials limit=4]

Include

Specify which testimonials to include by entering a comma seperated list of IDs. (This overrides the order and limit parameters; testimonials will display in the order in which the IDs are entered)

Eg: [testimonials include=’7, 38, 19′]

Size

Set the featured image or Gravatar size to display on each testimonial. Accepts numbers only, exclude the ‘px’.

default: 150

Eg: [testimonials size=200]

Responsive

Choose whether the images should resize according to the size of the viewport (enabled by default)

default: true

Eg: [testimonials responsive=false]

Show_image

Choose whether the images should display (enabled by default)

default: true

Eg: [testimonials show_image=false]

  • Combine these options to create the testimonials display you desire. Eg:  [testimonials size=100 show_image=true include=’1, 3, 35′]

Displaying Testimonials using a Widget

  • To add testimonials as a widget go to: Appearance > Widgets to find the LSX Testimonial Widget. You can modify the following settings:
  • Once complete, select “Save & Publish” at the top of your WordPress Customiser Menu

Shortcode

Insert the shortcode [testimonials] into any page to display all testimonials.

Optional shortcode parameters:

Columns
Set the number of columns to Display

  • options: 1, 2, 3, 4
  • default: 1 For Example [testimonials columns=4]

Orderby
Choose how the testimonails should be ordered

  • options: none, ID, name, date, rand (or any of the orderby options accepted by WP_Query – http://codex.wordpress.org/Class_Reference/WP_Query)
  • default: name For Example [testimonials orderby=rand]

Order

Whether to display testimonials in Ascending or Descending order (Based on the Orderby Parameter)

  • options: ASC, DESC
  • default: ASC For Example [testimonials order='DESC']

Limit

Set the Maximum number of testimonials to be returned

For Example [testimonials limit=4]

Include

Specify which testimonials to include by entering a comma seperated list of IDs. (This overrides the order and limit parameters; testimonials will display in the order in which the IDs are entered)

For Example [testimonials include='7, 38, 19']

Size

Set the featured image or Gravatar size to display on each testimonial. Accepts numbers only, exclude the ‘px’.

  • default: 150 For Example [testimonials size=200]

Responsive

Choose whether the images should resize according to the size of the viewport (enabled by default)

  • default: true For Example [testimonials responsive=false]

Show_image

Choose whether the images should display (enabled by default)

  • default: true For Example [testimonials show_image=false]

Function Call:

The testimonials function can be called directly in your theme templates. It accepts an array of the same parameters used in the shortcode.

eg:

<?php
    if ( class_exists( 'LSX_Testimonials' ) ) {
        lsx_testimonials( array(                                        
            'size' => 150,
            'responsive' => false,
            'columns' => 3,
            'limit' => 6,
            'carousel' => true,
        ) );
    };
?>