-
AuthorPosts
-
February 17, 2014 at 11:57 pm #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?February 18, 2014 at 12:46 am #225234Hey 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!
YigitFebruary 18, 2014 at 1:40 am #225264That’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, 10 months ago by evtilsley.
February 18, 2014 at 2:40 am #225292This is the page:
February 18, 2014 at 1:16 pm #225460Hey!
Please go to Settings > Media and increase tumbnail sizes, then regenerate thumbnails using this plugin http://wordpress.org/plugins/regenerate-thumbnails/
Regards,
YigitFebruary 18, 2014 at 11:37 pm #225813For 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=891For 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 ?
February 18, 2014 at 11:47 pm #225817Hey!
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,
YigitFebruary 19, 2014 at 1:45 am #225868Thanks 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).February 19, 2014 at 1:52 am #225871Hey!
Please try adding following code to Quick CSS
.avia-testimonial-meta { margin-left: 140px; }
Best regards,
YigitFebruary 19, 2014 at 1:56 am #225875Sorted !
Sending you an e-beer…February 19, 2014 at 1:58 am #225879 -
AuthorPosts
- The topic ‘Testimonials feature request’ is closed to new replies.