Testimonials

Knowledge BaseForm EntriesExamples → Testimonials

Follow the directions below to display a list of testimonials on your site, or a single random testimonial.

Create the form

Create a new Testimonials form. You may want to include the following three fields: name (text field), photo (file upload), and testimonial (paragraph). Submit a few example testimonials.

Create the listings page

  1. In your WordPress admin, go to “Pages” → “Add New” and create your testimonials page.
  2. Go to “Formidable” → “Custom Displays” and select “Add New”.
  3. Give the new custom display a title and a description for reference, if you would like.
  4. Select your Testimonials form from the “Use Entries from Form” drop-down.
  5. Select “All Entries” for the Display Format.
  6. Add your HTML into the “Before Content”, “Content”, and “After Content” boxes. This “Content” section will be repeated for each testimonial. Here is an example of code that you could add to the “Content” section:
    <div class="[evenodd] single_testimonial">
    [if photo]<img src="[photo]" class="left">[/if photo] "[testimonial]" 
    <span class="right">- <i>[name]</i></span>
    <div class="clear"></div>
    </div>
  7. Save your custom display.
  8. Insert the display on the testimonials page using [display-frm-data id=x filter=1] or insert the display automatically using the Advanced Settings at the bottom of the display. For more information on publishing custom displays, click here.

Create the random testimonial widget

  1. Follow steps 2 – 4 above.
  2. Select “Single Entry” for the Display Format.
  3. Add your HTML into the “Before Content”, “Content”, and “After Content” boxes. Here is an example of code that you could add to the “Content” section:
    <p>"[statement]"   — [name]</p>
  4. In the Advanced Settings at the bottom of the display, set the Order to Random.
  5. Save your custom display.
  6. Copy the shortcode for your display, i.e. [display-frm-data id=x filter=1].
  7. Go to “Appearance” → “Widgets”
  8. Drag a “Text” widget into your sidebar.
  9. Insert your shortcode into the text widget and save.