Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter chill986

    (@chill986)

    Nevermind, I found the code and changed from array(75,75) to ‘thumbnail’ and array(100,100) to ‘medium’.

    chill986,

    Exactly what lines of code did you change to make the thumbnails appear larger on the testimonials page? Thanks in advance for the help. We’ve had the same issue.

    Thread Starter chill986

    (@chill986)

    mavs-fan, find “get_the_post_thumbnail” in testimonials-new.php. There will be two occurrences. One will have array(100, 100) as a parameter (around line 326), and the other will have array(75, 75) (around line 747). I changed the first to ‘medium’ and the second to ‘thumbnail’.
    example:
    // $display .= '<div class="photo">'.get_the_post_thumbnail($testimonial->ID, array(100, 100)).'</div>';
    $display .= '<div class="photo">'.get_the_post_thumbnail($testimonial->ID, 'medium').'</div>';

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

    let me know if that works for you.

    tnx chill986, this worked out for me too.

    Thread Starter chill986

    (@chill986)

    Glad to help!

    I tryed both solutions. they don’t work for me. Any other idea?

    Thread Starter chill986

    (@chill986)

    Make sure you don’t try one or the other – make sure you change both.

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