{"id":120548,"date":"2023-06-26T17:39:39","date_gmt":"2023-06-26T12:09:39","guid":{"rendered":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/?post_type=documents&#038;p=120548"},"modified":"2023-06-27T09:36:46","modified_gmt":"2023-06-27T04:06:46","slug":"add-testimonials-with-custom-post-type-in-elementor","status":"publish","type":"documents","link":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/docs\/add-testimonials-with-custom-post-type-in-elementor\/","title":{"rendered":"How to Add Testimonials with Custom Post Type in Elementor?"},"content":{"rendered":"\n<p>If you are looking to showcase testimonials on your WordPress website, then using custom post types can be a good option. Custom post types allow you to add and manage testimonials separately, providing better organisation and control over your content.<\/p>\n\n\n\n<p>The Plus Addons for Elementor simplifies the process of managing testimonials on your website. It includes a custom post type dedicated to testimonials, which can be effortlessly utilised with the Testimonial widget. This built-in functionality allows you to conveniently organise and display your testimonials without requiring any additional customisation.&nbsp;<\/p>\n\n\n\n<p>Moreover, if you already have a custom post type for testimonials, you can seamlessly integrate it with the Testimonial widget.<\/p>\n\n\n\n<p><em>To check the complete feature overview documentation of The Plus Addons for Elementor Testimonial widget, <a href=\"\/docs\/testimonial-widget-settings-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">click here<\/a>.<\/em><\/p>\n\n\n\n<p><strong><em>Requirement&nbsp; &#8211; This widget is a part of The Plus Addons for Elementor, make sure its installed &amp; activated to enjoy all its powers.<\/em><\/strong><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-width wp-block-button__width-75 is-style-fill\"><a class=\"wp-block-button__link has-nxt-global-color-8-color has-nxt-global-color-1-background-color has-text-color has-background wp-element-button\" href=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/pluslisting\/#testimonials-wgts?utm_source=tpae&amp;utm_medium=docs&amp;utm_campaign=text\" style=\"border-radius:5px\" target=\"_blank\" rel=\"noreferrer noopener\">LIVE WIDGET LINK<\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Use Default Custom Post Type from The Plus Addons for Elementor<\/h3>\n\n\n\n<p>To do this, first, you have to activate the custom post type for testimonials. From the Dashboard, go to <strong>ThePlus Settings<\/strong> &gt; <strong>Post Listing,<\/strong> then click on the <strong>Testimonial<\/strong> link.<\/p>\n\n\n\n<p>From the <strong>Select Post type Type<\/strong> dropdown, select <strong>ThePlus Post Type<\/strong>.<\/p>\n\n\n\n<p>Then you can keep all the fields such as Post Name, Post Title and Category Taxonomy Value blank to use the default post type names but if you want you can add your own names that will affect the post type slug and post type names.<\/p>\n\n\n\n<p>Once done, click on the <strong>Save<\/strong> button.<\/p>\n\n\n\n<p>Reload the page then you\u2019ll see TP Testimonials or the custom name you\u2019ve set for the post type in the admin menu.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1920\" height=\"911\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-cpt-activate.gif\" alt=\"testimonial cpt activate\" class=\"wp-image-120549\"\/><\/figure>\n\n\n\n<p>There you have to add some posts with testimonials.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1920\" height=\"946\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-cpt-add-post.gif\" alt=\"testimonial cpt add post\" class=\"wp-image-120550\"\/><\/figure>\n\n\n\n<p>Once you\u2019ve added some testimonials, open a page with Elementor and add the Testimonial widget on the page. Then select <strong>Post Type<\/strong> from the <strong>Select Source<\/strong> dropdown under the <strong>Content Layout<\/strong> tab.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"329\" height=\"483\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-post-type.png\" alt=\"testimonial post type\" class=\"wp-image-120551\" srcset=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-post-type.png 329w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-post-type-204x300.png 204w\" sizes=\"(max-width: 329px) 100vw, 329px\" \/><\/figure>\n\n\n\n<p>You\u2019ll be able to see the testimonials there, you can adjust the style from the <strong>Style<\/strong> dropdown and layout from the <strong>Layout<\/strong> dropdown.<\/p>\n\n\n\n<p>From the <strong>Select Category<\/strong> under the <strong>Content Source<\/strong> tab, you can select specific categories as the source of your testimonials.<\/p>\n\n\n\n<p>In the <strong>Maximum Posts Display<\/strong> field, you can set a maximum number of items to be displayed on a page.&nbsp;<\/p>\n\n\n\n<p>From the <strong>Offset Posts<\/strong> field, you can hide posts from the beginning of the testimonials list.<\/p>\n\n\n\n<p>Then from the <strong>Order By<\/strong> dropdown, you can order the testimonials with different parameters.<\/p>\n\n\n\n<p>From the <strong>Order<\/strong> dropdown, you can arrange the testimonials in ascending or descending order based on the option selected in the <strong>Order By<\/strong> dropdown.<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Use Your Own Custom Post Type&nbsp;<\/h3>\n\n\n\n<p>If you already have or want to use your own custom post type for testimonials, you can easily use it with the Testimonial widget.<\/p>\n\n\n\n<p>You can use the free <a href=\"https:\/\/wordpress.org\/plugins\/advanced-custom-fields\/\">Advanced Custom Fields (ACF)<\/a> plugin to <a href=\"https:\/\/www.advancedcustomfields.com\/resources\/registering-a-custom-post-type\">create custom post type<\/a> and custom taxonomy for your testimonials.<\/p>\n\n\n\n<p>For example, we have a custom post type called Testimonial for testimonials and Testimonial Category as a custom taxonomy.<\/p>\n\n\n\n<p>Now to use this post type with the Testimonial widget, from the Dashboard, go to <strong>ThePlus Settings<\/strong> &gt; <strong>Post Listing,<\/strong> then click on the <strong>Testimonial<\/strong> link.<\/p>\n\n\n\n<p>From the <strong>Select Post type Type<\/strong> dropdown, select <strong>Prebuilt Theme Based<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"909\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-activate.png\" alt=\"testimonial custom cpt activate\" class=\"wp-image-120552\" srcset=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-activate.png 1920w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-activate-300x142.png 300w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-activate-1024x485.png 1024w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-activate-768x364.png 768w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-activate-1536x727.png 1536w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-activate-600x284.png 600w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/figure>\n\n\n\n<p>In the <strong>Prebuilt Post Name<\/strong> field, add your custom post type name.<\/p>\n\n\n\n<p>To find it click on the post type, in the URL the name after \u2018<em>post_type<\/em>=\u2019 is the post type name.&nbsp;<\/p>\n\n\n\n<p>For example, we have \u2018<em>post_type=testimonial<\/em>\u2019, so \u2018<em>testimonial<\/em>\u2019 will be the post type name.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"855\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-name.png\" alt=\"testimonial custom post type name\" class=\"wp-image-120553\" srcset=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-name.png 1920w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-name-300x134.png 300w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-name-1024x456.png 1024w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-name-768x342.png 768w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-name-1536x684.png 1536w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-name-600x267.png 600w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/figure>\n\n\n\n<p>If you have created a custom taxonomy for your custom post type, in the <strong>Prebuilt Category Taxonomy Value<\/strong>, you can add the taxonomy name.&nbsp;<\/p>\n\n\n\n<p>To find it click on the taxonomy link under your custom post type, in the URL the name after \u2018<em>taxonomy<\/em>=\u2019 is the taxonomy name.&nbsp;<\/p>\n\n\n\n<p>For example, we have \u2018<em>taxonomy=testimonial-category<\/em>\u2019, so \u2018<em>testimonial-category<\/em>\u2019 will be the taxonomy name.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"850\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-taxonomy-name.png\" alt=\"testimonial custom post type taxonomy name\" class=\"wp-image-120554\" srcset=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-taxonomy-name.png 1920w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-taxonomy-name-300x133.png 300w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-taxonomy-name-1024x453.png 1024w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-taxonomy-name-768x340.png 768w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-taxonomy-name-1536x680.png 1536w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-post-type-taxonomy-name-600x266.png 600w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/figure>\n\n\n\n<p>Add both names in the <strong>Prebuilt Post Name<\/strong> and <strong>Prebuilt Category Taxonomy Value<\/strong> field.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"909\" src=\"https:\/\/etemplates.wdesignkit.com\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-post-and-taxonomy-name.png\" alt=\"testimonial custom cpt post and taxonomy name\" class=\"wp-image-120555\" srcset=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-post-and-taxonomy-name.png 1920w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-post-and-taxonomy-name-300x142.png 300w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-post-and-taxonomy-name-1024x485.png 1024w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-post-and-taxonomy-name-768x364.png 768w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-post-and-taxonomy-name-1536x727.png 1536w, https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-content\/uploads\/sites\/55\/2023\/06\/testimonial-custom-cpt-post-and-taxonomy-name-600x284.png 600w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/figure>\n\n\n\n<p>Once done, click on the <strong>Save<\/strong> button.<\/p>\n\n\n\n<p>Now all the predefined TP Testimonials fields will be added to your custom post type, you can also add your own custom fields to it, to show more information on the testimonial single page.&nbsp;<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><em>Note: Your custom field value will not show in the listing of the Testimonial widget.<\/em><\/p>\n<\/blockquote>\n\n\n\n<p><\/p>\n\n\n\n<p>Add some posts with testimonials in your custom post type.<\/p>\n\n\n\n<p>Once done, then follow the same steps mentioned for the default custom post type to show the testimonials using the Testimonial widget.<\/p>\n\n\n\n<p>Also, read <a href=\"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/docs\/limit-elementor-testimonial-carousel-by-text\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Limit Elementor Testimonial Carousel by Text<\/a>.<\/p>\n","protected":false},"author":25,"featured_media":120556,"parent":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","docs":[526,566],"class_list":["post-120548","documents","type-documents","status-publish","format-standard","has-post-thumbnail","hentry","docs-plus-listings","docs-testimonial"],"acf":[],"_links":{"self":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents\/120548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents"}],"about":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/types\/documents"}],"author":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/comments?post=120548"}],"version-history":[{"count":0,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/documents\/120548\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/media\/120556"}],"wp:attachment":[{"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/media?parent=120548"}],"wp:term":[{"taxonomy":"docs","embeddable":true,"href":"https:\/\/etemplates.wdesignkit.com\/theplusaddons\/wp-json\/wp\/v2\/docs?post=120548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}