Skip to content

How to Add Testimonials with Custom Post Type in Elementor?

Table Of Content

Keeping testimonials in their own post type lets you edit them outside the page, reuse them in several places and filter them by category.

The Plus Addons for Elementor ships a testimonial post type for exactly this, and the Testimonial widget can also read a post type you already have.

To check the complete feature overview documentation of The Plus Addons for Elementor Testimonial widget, click here.

Requirement – This widget is a part of The Plus Addons for Elementor, make sure it’s installed & activated to enjoy all its powers.

Before You Start

  • Edition: the Testimonial widget is in the free plugin. Style-3 and the extras listed below need The Plus Addons for Elementor Pro.
  • Widget to enable: Testimonial, switched on under The Plus Addons > Widgets. Its card is badged FREEMIUM.
  • If you use the Post Type source: the testimonial custom post type has to be switched on first, under The Plus Addons > Extra Options > Listing > Testimonial. Until then there are no testimonials to list.

Switch the testimonial post type on

  1. In the WordPress dashboard go to The Plus Addons > Extra Options > Listing and open the Testimonial tab.
  2. Under Testimonial Post Type Settings change the dropdown from Disable to ThePlus Post Type.
  3. Leave Post Name, Post Title and Category Taxonomy Value empty to use the defaults, or type your own. The defaults are theplus_testimonial, TP Testimonials and theplus_testimonial_cat.
  4. Click Save Settings and reload the dashboard. A TP Testimonials menu appears.

Add some testimonials

Open TP Testimonials > Add New Item. Most of the testimonial lives in the ThePlus Testimonial Options box below the editor, not in the editor itself. The widget reads these fields:

Field on the postWhere it shows in the widget
Post titleThe author’s name
Author Text: (ThePlus Testimonial Options)The testimonial text
Title: (ThePlus Testimonial Options)The bold line above or below the text, depending on the style
Designation: (ThePlus Testimonial Options)The small line under the author’s name
Logo Upload: (ThePlus Testimonial Options)The company logo, shown on Style-4 only
Featured imageThe author’s picture
TP Testimonials CategoryUsed by the widget’s Select Category filter

If a testimonial has no featured image the widget falls back to the plugin’s own placeholder picture rather than leaving a gap.

List them with the widget

  1. Edit a page with Elementor and drag the Testimonial widget onto it.
  2. In Layout (called Content Layout in the free plugin), leave Select Source on Post Type.
  3. Pick a Style and a Layout – Grid, Masonry or Carousel.
Select source set to post type in the testimonial widget panel

Your testimonials appear straight away:

Front end showing three testimonials read from the testimonial post type, each with a photo, name and designation

Choose which testimonials are listed

Open the Content Source section. It is only shown while Select Source is Post Type.

SettingWhat it doesDefault
Select CategoryLists only the testimonial categories you pick. Leave it empty for all of them.empty
Maximum Posts DisplayHow many testimonials to show (1-200).8
Offset PostsSkips this many from the top of the list (0-50).empty
Order ByNone, ID, Author, Title, Name (slug), Date, Modified, Random, Comment Count or Default Menu Order.Date
OrderDescending or Ascending.Descending
Content source section with select category, maximum posts display, offset posts, order by and order

Use a post type you already have

If your theme or another plugin already registers a testimonial post type, point The Plus Addons at it instead of creating a second one.

  1. Go back to The Plus Addons > Extra Options > Listing > Testimonial and choose Prebuilt Theme Based from the dropdown.
Testimonial post type settings with the dropdown set to prebuilt theme based
  1. In Prebuilt Post Name type the post type’s name. You can read it from the admin URL: open the post type’s list screen and copy whatever follows post_type=.
Wordpress admin url of a custom post type list screen, with the post type name after post_type=
  1. In Prebuilt Category Taxonomy Value type the taxonomy name, read the same way from the taxonomy screen’s URL after taxonomy=.
Wordpress admin url of a custom taxonomy screen, with the taxonomy name after taxonomy=
  1. Fill both fields in and click Save Settings.
Prebuilt post name and prebuilt category taxonomy value filled in on the listing settings page

The testimonial fields are added to your post type, and the widget reads it exactly as described above.

How It Behaves

  • The post type does not exist until you switch it on – the menu and the widget’s testimonials both appear only after you save the setting.
  • The listing only ever includes published testimonials.
  • Offset Posts is applied before Maximum Posts Display, so offset 2 with a maximum of 3 gives you testimonials three, four and five.
  • If nothing matches, the widget prints Posts not found instead of the listing. Pro can style that message under Style > Post Not Found Options.
  • Custom fields you add to the post type yourself are not shown by the widget.

Limitations

  • Text limiting does not work with this source. Excerpt Limit, Title Limit and the Read More link only apply to the Repeater source. Pro still lets you set Content Limit By to Text Limit with the Post Type source, but nothing is shortened.
  • In the free plugin the company logo is ignored with this source. A Style-4 listing built from the post type shows no logos in the free plugin; the same listing shows them in Pro, and a Repeater row shows them in both.
  • In the free plugin, Content Scroll has no effect with this source – the scrollbar stays visible whichever option you pick.
  • Selecting a category that has no published testimonials simply lists everything: the filter is dropped rather than returning an empty result.

Troubleshooting

There is no TP Testimonials menu

The post type is still set to Disable. Set it to ThePlus Post Type under The Plus Addons > Extra Options > Listing > Testimonial, save, and reload the dashboard.

The widget says Posts not found

Either there are no published testimonials, or Offset Posts is larger than the number you have. Clear Offset Posts and check the post status.

The cards show names but no quotes

The testimonial text lives in the Author Text: field of the ThePlus Testimonial Options box on the post, not in the main WordPress editor. Fill that field in.

My own post type is not picked up

Check that Prebuilt Post Name matches the value after post_type= in the admin URL exactly, including underscores, and that you clicked Save Settings.

Related Docs

Related Frequently Asked Questions

Related Docs