Reply To: Testimonial thumbnailn picture size

forums forums Circle Flip Support Testimonial thumbnailn picture size Reply To: Testimonial thumbnailn picture size


Omar
Keymaster
#7073

Hey Yaya,

No problem, you’ll have to do a bit of code editing
in the file
wp-content/themes/circleflip/functions.php
find the text
circleflip_resize()
add after that line, the following

add_image_size( 'yaya-testmonial', 300, 200, true );

so that the function looks like

function circleflip_resize() {
add_image_size( 'yaya-testimonial', 300, 200, true );
add_image_size( 'circle-posts', 370, 370, true );
.....

Then in the file
wp-content/themes/circleflip/creiden-framework/content-builder/blocks/cr-testimonials-section.php
find the text

wp_get_attachment_image( $tab['imagesrc'], 'thumbnail2' )
and change it to be

wp_get_attachment_image( $tab['imagesrc'], 'yaya-testimonial' )

Finally, install the plugin “Regenerate Thumbnails https://wordpress.org/plugins/regenerate-thumbnails/
and regenerate all thumbnails

That should do it 🙂

Cheers