WordPress.org

Ready to get started?Download WordPress

Forums

GC Testimonials
Image size (4 posts)

  1. dr24
    Member
    Posted 7 months ago #

    Want to change image size ? where is that adjustment

    http://wordpress.org/plugins/gc-testimonials/

  2. Chris Dillon
    Member
    Posted 7 months ago #

    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).

  3. dr24
    Member
    Posted 7 months ago #

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

  4. Chris Dillon
    Member
    Posted 7 months ago #

    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>';

Reply

You must log in to post.

About this Plugin

About this Topic

Tags