| @@ -26,9 +26,10 @@ | ||
| 26 | 26 | do_action( 'give_pre_featured_thumbnail' ); |
| 27 | 27 | ?> |
| 28 | 28 | |
| 29 | 29 | <div class="images"> |
| 30 | - <?php //Featured Thumbnail | |
| 30 | + <?php | |
| 31 | + // Featured Thumbnail | |
| 31 | 32 | if ( has_post_thumbnail() ) { |
| 32 | 33 | |
| 33 | 34 | $image_size = give_get_option( 'featured_image_size' ); |
| 34 | 35 | $image = get_the_post_thumbnail( $post->ID, apply_filters( 'single_give_form_large_thumbnail_size', ( ! empty( $image_size ) ? $image_size : 'large' ) ) ); |
| @@ -36,12 +37,13 @@ | ||
| 36 | 37 | echo apply_filters( 'single_give_form_image_html', $image ); |
| 37 | 38 | |
| 38 | 39 | } else { |
| 39 | 40 | |
| 40 | - //Placeholder Image | |
| 41 | + // Placeholder Image | |
| 41 | 42 | echo apply_filters( 'single_give_form_image_html', sprintf( '<img src="%s" alt="%s" />', give_get_placeholder_img_src(), esc_attr__( 'Placeholder', 'give' ) ), $post->ID ); |
| 42 | 43 | |
| 43 | - } ?> | |
| 44 | + } | |
| 45 | + ?> | |
| 44 | 46 | </div> |
| 45 | 47 | |
| 46 | 48 | <?php |
| 47 | 49 | /** |