My client doesn’t want the generic gravatar symbols to display when a testimonial has no featured image and the testimonial author has no set gravatar. I’ve managed to do a bit of hacking of the plugin and change the code so that if there is no featured image, the gravatar value is an empty string, and no photo is displayed.
Unfortunately, my customized styling that surrounds the gravatar still shows up, so I’d really love to chuck that hack and only display the block of code related to the gravatar if there’s a featured image.
Any suggestions or ideas about how to do this? I’ve tried changing the default blocks in tb-testimonials.php, but have only managed to break everything a few times over. Go figure. 😉 Since this listing is only on a single page, would it be better to forego the shortcode and create a custom page template that lists the testimonials?
- The topic ‘Output Settings: conditional on gravatar?’ is closed to new replies.