Support » Plugin: GC Testimonials » Image size

Viewing 3 replies - 1 through 3 (of 3 total)
  • That would be a nice feature but the plugin does not offer that setting.

    It uses the get_the_post_thumbnail function with a default size of thumbnail.

    You can change it manually by editing testimonials.php, searching for the first occurrence of get_the_post_thumbnail and changing thumbnail to medium, large, full, or a custom size like array(100, 100).

    Chris
    I found this set_post_thumbnail_size(75, 75, true)
    is that it ?

    Not quite. Notice the difference between set and get.

    Line 359 in function gct_single_testimonial:

    $display .= '<div class="photo">'.get_the_post_thumbnail($testimonial->ID, 'thumbnail').'</div>';

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image size’ is closed to new replies.