Placeholder Image when no feature used
-
Some of the testimonials I have didn’t have a feature image I could set and you’re code does not use a placeholder image.
I added the following to use mystery man gravatar image if this is the case.
tp-testimonials.php line 246
if ( empty( $imgurl ) ) $imgurl = get_avatar_url( -1 );
This will provide a default image.
There is also an error in admin/tp-testimonials-admin.php on line 65 Undefined index: order
This is because you haven’t tested for the $_GET variable first. I changed line 65 to this.
if( isset( $_GET[‘order’] ) && $_GET[‘order’] ==’asc’ ) {
This fixed the error. If you could include these fixes in your next release I would appreciate it.
cheers,
Jamie.
- The topic ‘Placeholder Image when no feature used’ is closed to new replies.