Want to display quotations or testimonials by your customers/clients in a grid of speech bubbles like this? In this tutorial I show how testimonial CPT entries via Testimonials by WooThemes plugin can be displayed in a grid of 3 entries on the archive page. For each entry, testimonial excerpt, name, byline and photo will be set to appear.
Step 1Add the following in child theme's functions.php:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|// Register new image size for testifier photos|
|add_image_size( 'testifier-thumbnail', 128, 128, true );|
Step 2Install and activate Testimonials by WooThemes. Add your clients' testimonials.
Step 3Create a file named archive-testimonial.php having the following code:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.