Formidable Forms

The Most Advanced WordPress Forms Plugin and Form Builder

  • Features
  • Pricing
  • Blog
  • Support
  • Login
  • Get Formidable Forms

How to display Testimonials in WordPress

Last Updated: April 28, 2020

Knowledge Base → Views → Examples → How to display Testimonials in WordPress

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

Formidable Forms is the best WordPress Form Builder plugin. Get it for free!

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" → "Views" and select "Add New".
  3. Give the new View 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="alignleft">[/if photo]  
    <span class="right">- <i>[name]</i></span>
    <div class="clear"></div>
    </div>
  7. Save your View.
  8. Insert the View on the testimonials page using [display-frm-data id=x filter=1] or insert the View automatically using the Advanced Settings at the bottom of the View. Read more about publishing a View.

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 View, set the Order to Random.
  5. Save your View.
  6. Copy the shortcode for your View, 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.
  • Create the form
  • Create the listings page
  • Create the random testimonial widget
Categories
×

Categories

  • Installation & Getting Started
  • Account Management
  • Forms
  • Entries
  • Views
  • Styles
  • Importing & Exporting
  • Add-Ons
  • Extend Formidable Forms
Install Formidable Lite

Using WordPress and want to get Formidable Forms for free?

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

Take on bigger projects Right Now

Get the tools you need to revolutionize your workflow and architect a masterpiece. Build the most advanced WordPress forms and actually use the data you collect in meaningful ways.

Get the most advanced WordPress form plugin and the only form builder with integrated Views.

Get Formidable Forms Now

Resources

  • Community
  • Affiliates
  • Contact

Top Features

  • Front End Editor
  • Repeating Fields
  • Views from Entries
  • Calculator Forms
  • Conditional Logic
  • Visual Form Styler
  • Form Templates
  • User Submitted Posts
  • File Upload Forms
  • Spam Protection
  • Multi Page Forms
  • Surveys & Polls
  • Form Graphs & Charts
  • Save and Continue
  • Mobile Forms
  • Stripe Forms
  • PayPal Forms
  • WooCommerce Forms
  • MailChimp Forms
  • User Registration
  • Signature Forms
  • Bootstrap Forms
  • Quiz Maker
  • Zapier Forms
  • Salesforce Forms
  • HubSpot Forms
  • API Webhooks
  • Multilingual Forms
  • Directories

Company

  • About Us
  • Giving Back
  • Careers
  • Newsletter
  • Blog

Copyright © 2021 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.
Privacy Policy | Terms of Service | Sitemap

Join 300,000+ using Formidable Forms to create form-focused solutions fast. Get Started See User Reviews