Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #225193

    On your page:
    http://kriesi.at/themes/enfold/shortcodes/testimonials/
    I’d like the thumbnail associated with each testimonial to link to the fillsize JPG.
    Is this possible for a future feature?

    #225234

    Hey evtilsley!

    Please go to wp-content\themes\enfold\config-templatebuilder\avia-shortcodes folder and open Testimonials.php file and find

    if($src)	$avatar  = "<div class='avia-testimonial-image' $markup>".wp_get_attachment_image( $src , $avatar_size , false, array('alt'=>esc_attr(strip_tags($name))))."</div>";

    and change it to

    if($src)	$avatar  = "<div class='avia-testimonial-image' $markup>". wp_get_attachment_link( $src ). "".wp_get_attachment_image( $src , $avatar_size , false, array('alt'=>esc_attr(strip_tags($name))))."</div>";

    You can request such feature here https://kriesi.at/support/topic/enfold-feature-requests/

    Cheers!
    Yigit

    #225264

    That’s AWESOME!

    One thing that remains to fix .. if possible.. I’ve previously amended the server files (with help from Kriesi!) to increase the size of the testimonial thumbnails (now they are 120 px images). Amending the line above in Testimonials.php, the JPGs now look soft. Is there a fix for this one?!
    Thanks !

    • This reply was modified 10 years, 9 months ago by evtilsley.
    #225292
    #225460

    Hey!

    Please go to Settings > Media and increase tumbnail sizes, then regenerate thumbnails using this plugin http://wordpress.org/plugins/regenerate-thumbnails/

    Regards,
    Yigit

    #225813

    For the second time.. awesome :)
    The only minor issue that’s now appeared in is when viewing on a medium sized browser window, some testimonial names no longer aligned with the quote text.
    To demonstrate please see:
    http://smtylecdesigns.com/private/ed/?page_id=891

    For example, Laura at the end. Your demo page doesnt suffer this so I presume it’s due to my larger thumbnails.. but is there any way to fix ?

    #225817

    Hey!

    Please add following code to Quick CSS in Enfold theme options under Styling tab

    @media only screen and (max-with: 480px) and (min-width: 1340px) {
    .avia-testimonial-meta { margin-left: 140px;
    clear: both; }}

    Best regards,
    Yigit

    #225868

    Thanks Yigit. Added as instructed. Didnt see to make any difference though..
    http://smtylecdesigns.com/private/ed/?page_id=891
    (names are still not aligned in some instances).

    #225871

    Hey!

    Please try adding following code to Quick CSS

    .avia-testimonial-meta { margin-left: 140px; }

    Best regards,
    Yigit

    #225875

    Sorted !
    Sending you an e-beer…

    #225879

    Cheers! :)

    Best regards,
    Yigit

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Testimonials feature request’ is closed to new replies.